home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / gnome / html / gnomeui-decl.txt < prev    next >
Text File  |  2005-10-20  |  250KB  |  9,057 lines

  1. <MACRO>
  2. <NAME>GNOME_ABOUT</NAME>
  3. #define GNOME_ABOUT(obj)        GTK_CHECK_CAST (obj, gnome_about_get_type (), GnomeAbout)
  4. </MACRO>
  5. <MACRO>
  6. <NAME>GNOME_ABOUT_CLASS</NAME>
  7. #define GNOME_ABOUT_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_about_get_type (), GnomeAboutClass)
  8. </MACRO>
  9. <MACRO>
  10. <NAME>GNOME_IS_ABOUT</NAME>
  11. #define GNOME_IS_ABOUT(obj)       GTK_CHECK_TYPE (obj, gnome_about_get_type ())
  12. </MACRO>
  13. <STRUCT>
  14. <NAME>GnomeAbout</NAME>
  15. </STRUCT>
  16. <STRUCT>
  17. <NAME>GnomeAboutClass</NAME>
  18. </STRUCT>
  19. <STRUCT>
  20. <NAME>GnomeAbout</NAME>
  21. struct GnomeAbout
  22. {
  23.   GnomeDialog dialog;
  24. };
  25. </STRUCT>
  26. <FUNCTION>
  27. <NAME>gnome_about_get_type</NAME>
  28. <RETURNS>guint  </RETURNS>
  29. void
  30. </FUNCTION>
  31. <FUNCTION>
  32. <NAME>gnome_about_new</NAME>
  33. <RETURNS>GtkWidget *</RETURNS>
  34. const gchar    *title,const gchar    *version,const gchar    *copyright,const gchar    **authors,const gchar    *comments,const gchar    *logo
  35. </FUNCTION>
  36. <FUNCTION>
  37. <NAME>gnome_about_construct</NAME>
  38. <RETURNS>void</RETURNS>
  39. GnomeAbout *about,const gchar    *title,const gchar    *version,const gchar   *copyright,const gchar   **authors,const gchar   *comments,const gchar   *logo
  40. </FUNCTION>
  41. <MACRO>
  42. <NAME>GNOME_ANIMATOR</NAME>
  43. #define GNOME_ANIMATOR(obj) \
  44.   GTK_CHECK_CAST (obj, gnome_animator_get_type (), GnomeAnimator)
  45. </MACRO>
  46. <MACRO>
  47. <NAME>GNOME_ANIMATOR_CLASS</NAME>
  48. #define GNOME_ANIMATOR_CLASS(klass) \
  49.   GTK_CHECK_CLASS_CAST (klass, gnome_animator_get_type (), GnomeAnimatorClass)
  50. </MACRO>
  51. <MACRO>
  52. <NAME>GNOME_IS_ANIMATOR</NAME>
  53. #define GNOME_IS_ANIMATOR(obj) \
  54.   GTK_CHECK_TYPE (obj, gnome_animator_get_type ())
  55. </MACRO>
  56. <ENUM>
  57. <NAME>GnomeAnimatorStatus</NAME>
  58. typedef enum
  59. {
  60.     GNOME_ANIMATOR_STATUS_STOPPED,
  61.     GNOME_ANIMATOR_STATUS_RUNNING
  62. } GnomeAnimatorStatus;
  63. </ENUM>
  64. <ENUM>
  65. <NAME>GnomeAnimatorLoopType</NAME>
  66. typedef enum
  67. {
  68.     /* No loop: after the last (first) frame is played, the animation
  69.        is stopped.  */
  70.     GNOME_ANIMATOR_LOOP_NONE,
  71.  
  72.     /* After the last (first) frame is played, restart from the first
  73.        (last) frame.  */
  74.     GNOME_ANIMATOR_LOOP_RESTART,
  75.  
  76.     /* After the last (first) frame is played, the playback direction
  77.        is reversed.  */
  78.     GNOME_ANIMATOR_LOOP_PING_PONG
  79. } GnomeAnimatorLoopType;
  80. </ENUM>
  81. <STRUCT>
  82. <NAME>GnomeAnimator</NAME>
  83. </STRUCT>
  84. <STRUCT>
  85. <NAME>GnomeAnimatorClass</NAME>
  86. </STRUCT>
  87. <STRUCT>
  88. <NAME>GnomeAnimatorFrame</NAME>
  89. </STRUCT>
  90. <STRUCT>
  91. <NAME>GnomeAnimatorPrivate</NAME>
  92. </STRUCT>
  93. <STRUCT>
  94. <NAME>GnomeAnimator</NAME>
  95. struct GnomeAnimator
  96.   {
  97.     GtkWidget widget;
  98.  
  99.     guint num_frames;
  100.  
  101.     guint current_frame_number;
  102.  
  103.     GnomeAnimatorStatus status;
  104.  
  105.     GnomeAnimatorLoopType loop_type;
  106.  
  107.     gint playback_direction;
  108.  
  109.     gdouble playback_speed;
  110.  
  111.     GnomeAnimatorPrivate *privat;
  112.   };
  113. </STRUCT>
  114. <FUNCTION>
  115. <NAME>gnome_animator_get_type</NAME>
  116. <RETURNS>guint  </RETURNS>
  117. void
  118. </FUNCTION>
  119. <FUNCTION>
  120. <NAME>gnome_animator_new_with_size</NAME>
  121. <RETURNS>GtkWidget  *</RETURNS>
  122. guint width,guint height
  123. </FUNCTION>
  124. <FUNCTION>
  125. <NAME>gnome_animator_set_loop_type</NAME>
  126. <RETURNS>void  </RETURNS>
  127. GnomeAnimator *animator,GnomeAnimatorLoopType loop_type
  128. </FUNCTION>
  129. <FUNCTION>
  130. <NAME>gnome_animator_get_loop_type</NAME>
  131. <RETURNS>GnomeAnimatorLoopType  </RETURNS>
  132. GnomeAnimator *animator
  133. </FUNCTION>
  134. <FUNCTION>
  135. <NAME>gnome_animator_set_playback_direction</NAME>
  136. <RETURNS>void  </RETURNS>
  137. GnomeAnimator *animator,gint playback_direction
  138. </FUNCTION>
  139. <FUNCTION>
  140. <NAME>gnome_animator_get_playback_direction</NAME>
  141. <RETURNS>gint  </RETURNS>
  142. GnomeAnimator *animator
  143. </FUNCTION>
  144. <FUNCTION>
  145. <NAME>gnome_animator_append_frame_from_imlib_at_size</NAME>
  146. <RETURNS>gboolean  </RETURNS>
  147. GnomeAnimator *animator,GdkImlibImage *image,gint x_offset,gint y_offset,guint32 interval,guint width,guint height
  148. </FUNCTION>
  149. <FUNCTION>
  150. <NAME>gnome_animator_append_frame_from_imlib</NAME>
  151. <RETURNS>gboolean  </RETURNS>
  152. GnomeAnimator *animator,GdkImlibImage *image,gint x_offset,gint y_offset,guint32 interval
  153. </FUNCTION>
  154. <FUNCTION>
  155. <NAME>gnome_animator_append_frame_from_file_at_size</NAME>
  156. <RETURNS>gboolean  </RETURNS>
  157. GnomeAnimator *animator,const gchar *name,gint x_offset,gint y_offset,guint32 interval,guint width,guint height
  158. </FUNCTION>
  159. <FUNCTION>
  160. <NAME>gnome_animator_append_frame_from_file</NAME>
  161. <RETURNS>gboolean  </RETURNS>
  162. GnomeAnimator *animator,const gchar *name,gint x_offset,gint y_offset,guint32 interval
  163. </FUNCTION>
  164. <FUNCTION>
  165. <NAME>gnome_animator_append_frames_from_imlib_at_size</NAME>
  166. <RETURNS>gboolean  </RETURNS>
  167. GnomeAnimator *animator,GdkImlibImage *image,gint x_offset,gint y_offset,guint32 interval,gint x_unit,guint width,guint height
  168. </FUNCTION>
  169. <FUNCTION>
  170. <NAME>gnome_animator_append_frames_from_imlib</NAME>
  171. <RETURNS>gboolean  </RETURNS>
  172. GnomeAnimator *animator,GdkImlibImage *image,gint x_offset,gint y_offset,guint32 interval,gint x_unit
  173. </FUNCTION>
  174. <FUNCTION>
  175. <NAME>gnome_animator_append_frames_from_file_at_size</NAME>
  176. <RETURNS>gboolean  </RETURNS>
  177. GnomeAnimator *animator,const gchar *name,gint x_offset,gint y_offset,guint32 interval,gint x_unit,guint width,guint height
  178. </FUNCTION>
  179. <FUNCTION>
  180. <NAME>gnome_animator_append_frames_from_file</NAME>
  181. <RETURNS>gboolean  </RETURNS>
  182. GnomeAnimator *animator,const gchar *name,gint x_offset,gint y_offset,guint32 interval,gint x_unit
  183. </FUNCTION>
  184. <FUNCTION>
  185. <NAME>gnome_animator_append_frame_from_gnome_pixmap</NAME>
  186. <RETURNS>gboolean  </RETURNS>
  187. GnomeAnimator *animator,GnomePixmap *pixmap,gint x_offset,gint y_offset,guint32 interval
  188. </FUNCTION>
  189. <FUNCTION>
  190. <NAME>gnome_animator_start</NAME>
  191. <RETURNS>void  </RETURNS>
  192. GnomeAnimator *animator
  193. </FUNCTION>
  194. <FUNCTION>
  195. <NAME>gnome_animator_stop</NAME>
  196. <RETURNS>void  </RETURNS>
  197. GnomeAnimator *animator
  198. </FUNCTION>
  199. <FUNCTION>
  200. <NAME>gnome_animator_advance</NAME>
  201. <RETURNS>gboolean  </RETURNS>
  202. GnomeAnimator *animator,gint num
  203. </FUNCTION>
  204. <FUNCTION>
  205. <NAME>gnome_animator_goto_frame</NAME>
  206. <RETURNS>void  </RETURNS>
  207. GnomeAnimator *animator,guint frame_number
  208. </FUNCTION>
  209. <FUNCTION>
  210. <NAME>gnome_animator_get_current_frame_number</NAME>
  211. <RETURNS>guint  </RETURNS>
  212. GnomeAnimator *animator
  213. </FUNCTION>
  214. <FUNCTION>
  215. <NAME>gnome_animator_get_status</NAME>
  216. <RETURNS>GnomeAnimatorStatus  </RETURNS>
  217. GnomeAnimator *animator
  218. </FUNCTION>
  219. <FUNCTION>
  220. <NAME>gnome_animator_set_playback_speed</NAME>
  221. <RETURNS>void  </RETURNS>
  222. GnomeAnimator *animator,gdouble speed
  223. </FUNCTION>
  224. <FUNCTION>
  225. <NAME>gnome_animator_get_playback_speed</NAME>
  226. <RETURNS>gdouble  </RETURNS>
  227. GnomeAnimator *animator
  228. </FUNCTION>
  229. <ENUM>
  230. <NAME>GnomeUIInfoType</NAME>
  231. typedef enum {
  232.     GNOME_APP_UI_ENDOFINFO,        /* No more items, use it at the end of 
  233.                        an array */
  234.     GNOME_APP_UI_ITEM,        /* Normal item, or radio item if it is 
  235.                        inside a radioitems group */
  236.     GNOME_APP_UI_TOGGLEITEM,    /* Toggle (check box) item */
  237.     GNOME_APP_UI_RADIOITEMS,    /* Radio item group */
  238.     GNOME_APP_UI_SUBTREE,        /* Item that defines a 
  239.                        subtree/submenu */
  240.     GNOME_APP_UI_SEPARATOR,        /* Separator line (menus) or blank 
  241.                        space (toolbars) */
  242.     GNOME_APP_UI_HELP,        /* Create a list of help topics, 
  243.                        used in the Help menu */
  244.     GNOME_APP_UI_BUILDER_DATA,    /* Specifies the builder data for the 
  245.                        following entries, see code for 
  246.                        further info */
  247.     GNOME_APP_UI_ITEM_CONFIGURABLE, /* A configurable menu item. */
  248.     /* one should be careful when using 
  249.      * gnome_app_create_*_[custom|interp|with_data]() functions with 
  250.      * GnomeUIInfo arrays containing GNOME_APP_UI_BUILDER_DATA items since 
  251.      * their GnomeUIBuilderData structures completely override the ones 
  252.      * generated or supplied by the above functions. */
  253.     GNOME_APP_UI_SUBTREE_STOCK    /* Item that defines a 
  254.                        subtree/submenu, same as GNOME_APP_UI_SUBTREE,
  255.                        but the texts should be looked up in the
  256.                        gnome-libs catalog
  257.                     */
  258. } GnomeUIInfoType;
  259. </ENUM>
  260. <ENUM>
  261. <NAME>GnomeUIInfoConfigurableTypes</NAME>
  262. typedef enum {
  263.         /* 0 */
  264.         GNOME_APP_CONFIGURABLE_ITEM_NEW,
  265.         GNOME_APP_CONFIGURABLE_ITEM_OPEN,
  266.         GNOME_APP_CONFIGURABLE_ITEM_SAVE,
  267.         GNOME_APP_CONFIGURABLE_ITEM_SAVE_AS,
  268.         GNOME_APP_CONFIGURABLE_ITEM_REVERT,
  269.         GNOME_APP_CONFIGURABLE_ITEM_PRINT,
  270.         GNOME_APP_CONFIGURABLE_ITEM_PRINT_SETUP,
  271.         GNOME_APP_CONFIGURABLE_ITEM_CLOSE,
  272.         GNOME_APP_CONFIGURABLE_ITEM_EXIT,
  273.         GNOME_APP_CONFIGURABLE_ITEM_CUT,
  274.     /* 10 */
  275.         GNOME_APP_CONFIGURABLE_ITEM_COPY,
  276.         GNOME_APP_CONFIGURABLE_ITEM_PASTE,
  277.         GNOME_APP_CONFIGURABLE_ITEM_CLEAR,
  278.         GNOME_APP_CONFIGURABLE_ITEM_UNDO,
  279.         GNOME_APP_CONFIGURABLE_ITEM_REDO,
  280.         GNOME_APP_CONFIGURABLE_ITEM_FIND,
  281.         GNOME_APP_CONFIGURABLE_ITEM_FIND_AGAIN,
  282.         GNOME_APP_CONFIGURABLE_ITEM_REPLACE,
  283.         GNOME_APP_CONFIGURABLE_ITEM_PROPERTIES,
  284.         GNOME_APP_CONFIGURABLE_ITEM_PREFERENCES,
  285.     /* 20 */
  286.         GNOME_APP_CONFIGURABLE_ITEM_ABOUT,
  287.     GNOME_APP_CONFIGURABLE_ITEM_SELECT_ALL,
  288.     GNOME_APP_CONFIGURABLE_ITEM_NEW_WINDOW,
  289.     GNOME_APP_CONFIGURABLE_ITEM_CLOSE_WINDOW,
  290.     GNOME_APP_CONFIGURABLE_ITEM_NEW_GAME,
  291.     GNOME_APP_CONFIGURABLE_ITEM_PAUSE_GAME,
  292.     GNOME_APP_CONFIGURABLE_ITEM_RESTART_GAME,
  293.     GNOME_APP_CONFIGURABLE_ITEM_UNDO_MOVE,
  294.     GNOME_APP_CONFIGURABLE_ITEM_REDO_MOVE,
  295.     GNOME_APP_CONFIGURABLE_ITEM_HINT,
  296.     /* 30 */
  297.     GNOME_APP_CONFIGURABLE_ITEM_SCORES,
  298.     GNOME_APP_CONFIGURABLE_ITEM_END_GAME
  299. } GnomeUIInfoConfigurableTypes;
  300. </ENUM>
  301. <ENUM>
  302. <NAME>GnomeUIPixmapType</NAME>
  303. typedef enum {
  304.     GNOME_APP_PIXMAP_NONE,        /* No pixmap specified */
  305.     GNOME_APP_PIXMAP_STOCK,        /* Use a stock pixmap (GnomeStock) */
  306.     GNOME_APP_PIXMAP_DATA,        /* Use a pixmap from inline xpm data */
  307.     GNOME_APP_PIXMAP_FILENAME    /* Use a pixmap from the specified 
  308.                        filename */
  309. } GnomeUIPixmapType;
  310. </ENUM>
  311. <STRUCT>
  312. <NAME>GnomeUIInfo</NAME>
  313. typedef struct {
  314.     GnomeUIInfoType type;        /* Type of item */
  315.     gchar *label;            /* String to use in the label */
  316.     gchar *hint;            /* For toolbar items, the tooltip. For 
  317.                        menu items, the status bar message */
  318.     gpointer moreinfo;        /* For an item, toggleitem, or 
  319.                        radioitem, this is a pointer to the 
  320.                        function to call when the item is 
  321.                        activated. For a subtree, a pointer 
  322.                        to another array of GnomeUIInfo 
  323.                        structures. For a radioitem lead 
  324.                        entry, a pointer to an array of 
  325.                        GnomeUIInfo structures for the radio 
  326.                        item group. For a help item, 
  327.                        specifies the help node to load 
  328.                        (i.e. the application's identifier) 
  329.                        or NULL for the main program's name.
  330.                        For builder data, points to the 
  331.                        GnomeUIBuilderData structure for 
  332.                        the following items */
  333.     gpointer user_data;        /* Data pointer to pass to callbacks */
  334.     gpointer unused_data;        /* Reserved for future expansion, 
  335.                        should be NULL */
  336.     GnomeUIPixmapType pixmap_type;    /* Type of pixmap for the item */
  337.     gpointer pixmap_info;        /* Pointer to the pixmap information:
  338.                      *
  339.                      * For GNOME_APP_PIXMAP_STOCK, a 
  340.                      * pointer to the stock icon name.
  341.                      *
  342.                      * For GNOME_APP_PIXMAP_DATA, a 
  343.                      * pointer to the inline xpm data.
  344.                      *
  345.                      * For GNOME_APP_PIXMAP_FILENAME, a 
  346.                      * pointer to the filename string.
  347.                      */
  348.     guint accelerator_key;        /* Accelerator key, or 0 for none */
  349.     GdkModifierType ac_mods;    /* Mask of modifier keys for the 
  350.                        accelerator */
  351.  
  352.     GtkWidget *widget;        /* Filled in by gnome_app_create*, you 
  353.                        can use this to tweak the widgets 
  354.                        once they have been created */
  355. } GnomeUIInfo;
  356. </STRUCT>
  357. <MACRO>
  358. <NAME>GNOMEUIINFO_KEY_UIDATA</NAME>
  359. #define GNOMEUIINFO_KEY_UIDATA        "uidata"
  360. </MACRO>
  361. <MACRO>
  362. <NAME>GNOMEUIINFO_KEY_UIBDATA</NAME>
  363. #define GNOMEUIINFO_KEY_UIBDATA        "uibdata"
  364. </MACRO>
  365. <MACRO>
  366. <NAME>GNOMEUIINFO_END</NAME>
  367. #define GNOMEUIINFO_END            { GNOME_APP_UI_ENDOFINFO, NULL, NULL, NULL, NULL, NULL,        \
  368.                       (GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
  369. </MACRO>
  370. <MACRO>
  371. <NAME>GNOMEUIINFO_SEPARATOR</NAME>
  372. #define GNOMEUIINFO_SEPARATOR        { GNOME_APP_UI_SEPARATOR, NULL, NULL, NULL, NULL, NULL,        \
  373.                       (GnomeUIPixmapType) 0, NULL, 0, (GdkModifierType) 0, NULL }
  374. </MACRO>
  375. <MACRO>
  376. <NAME>GNOMEUIINFO_ITEM</NAME>
  377. #define GNOMEUIINFO_ITEM(label, tooltip, callback, xpm_data) \
  378.     { GNOME_APP_UI_ITEM, label, tooltip, callback, NULL, NULL, \
  379.         GNOME_APP_PIXMAP_DATA, xpm_data, 0, (GdkModifierType) 0, NULL}
  380. </MACRO>
  381. <MACRO>
  382. <NAME>GNOMEUIINFO_ITEM_STOCK</NAME>
  383. #define GNOMEUIINFO_ITEM_STOCK(label, tooltip, callback, stock_id) \
  384.     { GNOME_APP_UI_ITEM, label, tooltip, callback, NULL, NULL, \
  385.         GNOME_APP_PIXMAP_STOCK, stock_id, 0, (GdkModifierType) 0, NULL }
  386. </MACRO>
  387. <MACRO>
  388. <NAME>GNOMEUIINFO_ITEM_NONE</NAME>
  389. #define GNOMEUIINFO_ITEM_NONE(label, tooltip, callback) \
  390.     { GNOME_APP_UI_ITEM, label, tooltip, callback, NULL, NULL, \
  391.         GNOME_APP_PIXMAP_NONE, NULL, 0, (GdkModifierType) 0, NULL }
  392. </MACRO>
  393. <MACRO>
  394. <NAME>GNOMEUIINFO_ITEM_DATA</NAME>
  395. #define GNOMEUIINFO_ITEM_DATA(label, tooltip, callback, user_data, xpm_data) \
  396.     { GNOME_APP_UI_ITEM, label, tooltip, callback, user_data, NULL, \
  397.         GNOME_APP_PIXMAP_DATA, xpm_data, 0, (GdkModifierType) 0, NULL }
  398. </MACRO>
  399. <MACRO>
  400. <NAME>GNOMEUIINFO_TOGGLEITEM</NAME>
  401. #define GNOMEUIINFO_TOGGLEITEM(label, tooltip, callback, xpm_data) \
  402.     { GNOME_APP_UI_TOGGLEITEM, label, tooltip, callback, NULL, NULL, \
  403.         GNOME_APP_PIXMAP_DATA, xpm_data, 0, (GdkModifierType) 0, NULL }
  404. </MACRO>
  405. <MACRO>
  406. <NAME>GNOMEUIINFO_TOGGLEITEM_DATA</NAME>
  407. #define GNOMEUIINFO_TOGGLEITEM_DATA(label, tooltip, callback, user_data, xpm_data)        \
  408.                     { GNOME_APP_UI_TOGGLEITEM, label, tooltip, callback,    \
  409.                       user_data, NULL, GNOME_APP_PIXMAP_DATA, xpm_data,    \
  410.                       0, (GdkModifierType) 0, NULL }
  411. </MACRO>
  412. <MACRO>
  413. <NAME>GNOMEUIINFO_HELP</NAME>
  414. #define GNOMEUIINFO_HELP(app_name) \
  415.     { GNOME_APP_UI_HELP, NULL, NULL, app_name, NULL, NULL, \
  416.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  417. </MACRO>
  418. <MACRO>
  419. <NAME>GNOMEUIINFO_SUBTREE</NAME>
  420. #define GNOMEUIINFO_SUBTREE(label, tree) \
  421.     { GNOME_APP_UI_SUBTREE, label, NULL, tree, NULL, NULL, \
  422.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  423. </MACRO>
  424. <MACRO>
  425. <NAME>GNOMEUIINFO_SUBTREE_HINT</NAME>
  426. #define GNOMEUIINFO_SUBTREE_HINT(label, hint, tree) \
  427.     { GNOME_APP_UI_SUBTREE, label, hint, tree, NULL, NULL, \
  428.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  429. </MACRO>
  430. <MACRO>
  431. <NAME>GNOMEUIINFO_SUBTREE_STOCK</NAME>
  432. #define GNOMEUIINFO_SUBTREE_STOCK(label, tree, stock_id) \
  433.     { GNOME_APP_UI_SUBTREE, label, NULL, tree, NULL, NULL, \
  434.         GNOME_APP_PIXMAP_STOCK, stock_id, 0, (GdkModifierType) 0, NULL }
  435. </MACRO>
  436. <MACRO>
  437. <NAME>GNOMEUIINFO_RADIOLIST</NAME>
  438. #define GNOMEUIINFO_RADIOLIST(list) \
  439.     { GNOME_APP_UI_RADIOITEMS, NULL, NULL, list, NULL, NULL, \
  440.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  441. </MACRO>
  442. <MACRO>
  443. <NAME>GNOMEUIINFO_RADIOITEM</NAME>
  444. #define GNOMEUIINFO_RADIOITEM(label, tooltip, callback, xpm_data) \
  445.     { GNOME_APP_UI_ITEM, label, tooltip, callback, NULL, NULL, \
  446.         GNOME_APP_PIXMAP_DATA, xpm_data, 0, (GdkModifierType) 0, NULL }
  447. </MACRO>
  448. <MACRO>
  449. <NAME>GNOMEUIINFO_RADIOITEM_DATA</NAME>
  450. #define GNOMEUIINFO_RADIOITEM_DATA(label, tooltip, callback, user_data, xpm_data)        \
  451.                     { GNOME_APP_UI_ITEM, label, tooltip, callback,    \
  452.                       user_data, NULL, GNOME_APP_PIXMAP_DATA, xpm_data,    \
  453.                       0, (GdkModifierType) 0, NULL }
  454. </MACRO>
  455. <MACRO>
  456. <NAME>GNOMEUIINFO_MENU_NEW_ITEM</NAME>
  457. #define GNOMEUIINFO_MENU_NEW_ITEM(label, tip, cb, data)                     \
  458.         { GNOME_APP_UI_ITEM_CONFIGURABLE, label, tip,                       \
  459.           cb, (gpointer)(data), NULL,                                       \
  460.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  461.           GNOME_APP_CONFIGURABLE_ITEM_NEW, (GdkModifierType) 0, NULL }
  462. </MACRO>
  463. <MACRO>
  464. <NAME>GNOMEUIINFO_MENU_NEW_SUBTREE</NAME>
  465. #define GNOMEUIINFO_MENU_NEW_SUBTREE(tree)                                  \
  466.         { GNOME_APP_UI_SUBTREE_STOCK, N_("_New"), NULL, tree, NULL, NULL,   \
  467.           GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_NEW,                     \
  468.           GNOME_KEY_NAME_NEW, GNOME_KEY_MOD_NEW, NULL }
  469. </MACRO>
  470. <MACRO>
  471. <NAME>GNOMEUIINFO_MENU_OPEN_ITEM</NAME>
  472. #define GNOMEUIINFO_MENU_OPEN_ITEM(cb, data)                                \
  473.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  474.           cb, (gpointer)(data), NULL,                                       \
  475.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  476.           GNOME_APP_CONFIGURABLE_ITEM_OPEN, (GdkModifierType) 0, NULL }
  477. </MACRO>
  478. <MACRO>
  479. <NAME>GNOMEUIINFO_MENU_SAVE_ITEM</NAME>
  480. #define GNOMEUIINFO_MENU_SAVE_ITEM(cb, data)                                \
  481.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  482.           cb, (gpointer)(data), NULL,                                       \
  483.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  484.           GNOME_APP_CONFIGURABLE_ITEM_SAVE, (GdkModifierType) 0, NULL }
  485. </MACRO>
  486. <MACRO>
  487. <NAME>GNOMEUIINFO_MENU_SAVE_AS_ITEM</NAME>
  488. #define GNOMEUIINFO_MENU_SAVE_AS_ITEM(cb, data)                             \
  489.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  490.           cb, (gpointer)(data), NULL,                                       \
  491.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  492.           GNOME_APP_CONFIGURABLE_ITEM_SAVE_AS, (GdkModifierType) 0, NULL }
  493. </MACRO>
  494. <MACRO>
  495. <NAME>GNOMEUIINFO_MENU_REVERT_ITEM</NAME>
  496. #define GNOMEUIINFO_MENU_REVERT_ITEM(cb, data)                              \
  497.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  498.           cb, (gpointer)(data), NULL,                                       \
  499.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  500.           GNOME_APP_CONFIGURABLE_ITEM_REVERT, (GdkModifierType) 0, NULL }
  501. </MACRO>
  502. <MACRO>
  503. <NAME>GNOMEUIINFO_MENU_PRINT_ITEM</NAME>
  504. #define GNOMEUIINFO_MENU_PRINT_ITEM(cb, data)                               \
  505.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  506.           cb, (gpointer)(data), NULL,                                       \
  507.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  508.           GNOME_APP_CONFIGURABLE_ITEM_PRINT, (GdkModifierType) 0, NULL }
  509. </MACRO>
  510. <MACRO>
  511. <NAME>GNOMEUIINFO_MENU_PRINT_SETUP_ITEM</NAME>
  512. #define GNOMEUIINFO_MENU_PRINT_SETUP_ITEM(cb, data)                         \
  513.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  514.           cb, (gpointer)(data), NULL,                                       \
  515.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  516.           GNOME_APP_CONFIGURABLE_ITEM_PRINT_SETUP, (GdkModifierType) 0, NULL }
  517. </MACRO>
  518. <MACRO>
  519. <NAME>GNOMEUIINFO_MENU_CLOSE_ITEM</NAME>
  520. #define GNOMEUIINFO_MENU_CLOSE_ITEM(cb, data)                               \
  521.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  522.           cb, (gpointer)(data), NULL,                                       \
  523.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  524.           GNOME_APP_CONFIGURABLE_ITEM_CLOSE, (GdkModifierType) 0, NULL }
  525. </MACRO>
  526. <MACRO>
  527. <NAME>GNOMEUIINFO_MENU_EXIT_ITEM</NAME>
  528. #define GNOMEUIINFO_MENU_EXIT_ITEM(cb, data)                                \
  529.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  530.           cb, (gpointer)(data), NULL,                                       \
  531.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  532.           GNOME_APP_CONFIGURABLE_ITEM_EXIT, (GdkModifierType) 0, NULL }
  533. </MACRO>
  534. <MACRO>
  535. <NAME>GNOMEUIINFO_MENU_CUT_ITEM</NAME>
  536. #define GNOMEUIINFO_MENU_CUT_ITEM(cb, data)                                 \
  537.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  538.           cb, (gpointer)(data), NULL,                                       \
  539.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  540.           GNOME_APP_CONFIGURABLE_ITEM_CUT, (GdkModifierType) 0, NULL }
  541. </MACRO>
  542. <MACRO>
  543. <NAME>GNOMEUIINFO_MENU_COPY_ITEM</NAME>
  544. #define GNOMEUIINFO_MENU_COPY_ITEM(cb, data)                                \
  545.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  546.           cb, (gpointer)(data), NULL,                                       \
  547.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  548.           GNOME_APP_CONFIGURABLE_ITEM_COPY, (GdkModifierType) 0, NULL }
  549. </MACRO>
  550. <MACRO>
  551. <NAME>GNOMEUIINFO_MENU_PASTE_ITEM</NAME>
  552. #define GNOMEUIINFO_MENU_PASTE_ITEM(cb, data)                               \
  553.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  554.           cb, (gpointer)(data), NULL,                                       \
  555.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  556.           GNOME_APP_CONFIGURABLE_ITEM_PASTE, (GdkModifierType) 0, NULL }
  557. </MACRO>
  558. <MACRO>
  559. <NAME>GNOMEUIINFO_MENU_SELECT_ALL_ITEM</NAME>
  560. #define GNOMEUIINFO_MENU_SELECT_ALL_ITEM(cb, data)                          \
  561.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  562.           cb, (gpointer)(data), NULL,                                       \
  563.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  564.           GNOME_APP_CONFIGURABLE_ITEM_SELECT_ALL, (GdkModifierType) 0, NULL }
  565. </MACRO>
  566. <MACRO>
  567. <NAME>GNOMEUIINFO_MENU_CLEAR_ITEM</NAME>
  568. #define GNOMEUIINFO_MENU_CLEAR_ITEM(cb, data)                               \
  569.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  570.           cb, (gpointer)(data), NULL,                                       \
  571.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  572.           GNOME_APP_CONFIGURABLE_ITEM_CLEAR, (GdkModifierType) 0, NULL }
  573. </MACRO>
  574. <MACRO>
  575. <NAME>GNOMEUIINFO_MENU_UNDO_ITEM</NAME>
  576. #define GNOMEUIINFO_MENU_UNDO_ITEM(cb, data)                                \
  577.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  578.           cb, (gpointer)(data), NULL,                                       \
  579.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  580.           GNOME_APP_CONFIGURABLE_ITEM_UNDO, (GdkModifierType) 0, NULL }
  581. </MACRO>
  582. <MACRO>
  583. <NAME>GNOMEUIINFO_MENU_REDO_ITEM</NAME>
  584. #define GNOMEUIINFO_MENU_REDO_ITEM(cb, data)                                \
  585.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  586.           cb, (gpointer)(data), NULL,                                       \
  587.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  588.           GNOME_APP_CONFIGURABLE_ITEM_REDO, (GdkModifierType) 0, NULL }
  589. </MACRO>
  590. <MACRO>
  591. <NAME>GNOMEUIINFO_MENU_FIND_ITEM</NAME>
  592. #define GNOMEUIINFO_MENU_FIND_ITEM(cb, data)                                \
  593.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  594.           cb, (gpointer)(data), NULL,                                       \
  595.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  596.           GNOME_APP_CONFIGURABLE_ITEM_FIND, (GdkModifierType) 0, NULL }
  597. </MACRO>
  598. <MACRO>
  599. <NAME>GNOMEUIINFO_MENU_FIND_AGAIN_ITEM</NAME>
  600. #define GNOMEUIINFO_MENU_FIND_AGAIN_ITEM(cb, data)                          \
  601.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  602.           cb, (gpointer)(data), NULL,                                       \
  603.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  604.           GNOME_APP_CONFIGURABLE_ITEM_FIND_AGAIN, (GdkModifierType) 0, NULL }
  605. </MACRO>
  606. <MACRO>
  607. <NAME>GNOMEUIINFO_MENU_REPLACE_ITEM</NAME>
  608. #define GNOMEUIINFO_MENU_REPLACE_ITEM(cb, data)                             \
  609.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  610.           cb, (gpointer)(data), NULL,                                       \
  611.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  612.           GNOME_APP_CONFIGURABLE_ITEM_REPLACE, (GdkModifierType) 0, NULL }
  613. </MACRO>
  614. <MACRO>
  615. <NAME>GNOMEUIINFO_MENU_PROPERTIES_ITEM</NAME>
  616. #define GNOMEUIINFO_MENU_PROPERTIES_ITEM(cb, data)                          \
  617.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  618.           cb, (gpointer)(data), NULL,                                       \
  619.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  620.           GNOME_APP_CONFIGURABLE_ITEM_PROPERTIES, (GdkModifierType) 0, NULL }
  621. </MACRO>
  622. <MACRO>
  623. <NAME>GNOMEUIINFO_MENU_PREFERENCES_ITEM</NAME>
  624. #define GNOMEUIINFO_MENU_PREFERENCES_ITEM(cb, data)                         \
  625.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  626.           cb, (gpointer)(data), NULL,                                       \
  627.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  628.           GNOME_APP_CONFIGURABLE_ITEM_PREFERENCES, (GdkModifierType) 0, NULL }
  629. </MACRO>
  630. <MACRO>
  631. <NAME>GNOMEUIINFO_MENU_NEW_WINDOW_ITEM</NAME>
  632. #define GNOMEUIINFO_MENU_NEW_WINDOW_ITEM(cb, data)                          \
  633.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  634.           cb, (gpointer)(data), NULL,                                       \
  635.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  636.           GNOME_APP_CONFIGURABLE_ITEM_NEW_WINDOW, (GdkModifierType) 0, NULL }
  637. </MACRO>
  638. <MACRO>
  639. <NAME>GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM</NAME>
  640. #define GNOMEUIINFO_MENU_CLOSE_WINDOW_ITEM(cb, data)                        \
  641.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  642.           cb, (gpointer)(data), NULL,                                       \
  643.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  644.           GNOME_APP_CONFIGURABLE_ITEM_CLOSE_WINDOW, (GdkModifierType) 0, NULL }
  645. </MACRO>
  646. <MACRO>
  647. <NAME>GNOMEUIINFO_MENU_ABOUT_ITEM</NAME>
  648. #define GNOMEUIINFO_MENU_ABOUT_ITEM(cb, data)                               \
  649.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  650.           cb, (gpointer)(data), NULL,                                       \
  651.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  652.           GNOME_APP_CONFIGURABLE_ITEM_ABOUT, (GdkModifierType) 0, NULL }
  653. </MACRO>
  654. <MACRO>
  655. <NAME>GNOMEUIINFO_MENU_NEW_GAME_ITEM</NAME>
  656. #define GNOMEUIINFO_MENU_NEW_GAME_ITEM(cb, data)                            \
  657.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  658.           cb, (gpointer)(data), NULL,                                       \
  659.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  660.           GNOME_APP_CONFIGURABLE_ITEM_NEW_GAME, (GdkModifierType) 0, NULL }
  661. </MACRO>
  662. <MACRO>
  663. <NAME>GNOMEUIINFO_MENU_PAUSE_GAME_ITEM</NAME>
  664. #define GNOMEUIINFO_MENU_PAUSE_GAME_ITEM(cb, data)                            \
  665.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  666.           cb, (gpointer)(data), NULL,                                       \
  667.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  668.           GNOME_APP_CONFIGURABLE_ITEM_PAUSE_GAME, (GdkModifierType) 0, NULL }
  669. </MACRO>
  670. <MACRO>
  671. <NAME>GNOMEUIINFO_MENU_RESTART_GAME_ITEM</NAME>
  672. #define GNOMEUIINFO_MENU_RESTART_GAME_ITEM(cb, data)                            \
  673.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  674.           cb, (gpointer)(data), NULL,                                       \
  675.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  676.           GNOME_APP_CONFIGURABLE_ITEM_RESTART_GAME, (GdkModifierType) 0, NULL }
  677. </MACRO>
  678. <MACRO>
  679. <NAME>GNOMEUIINFO_MENU_UNDO_MOVE_ITEM</NAME>
  680. #define GNOMEUIINFO_MENU_UNDO_MOVE_ITEM(cb, data)                            \
  681.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  682.           cb, (gpointer)(data), NULL,                                       \
  683.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  684.           GNOME_APP_CONFIGURABLE_ITEM_UNDO_MOVE, (GdkModifierType) 0, NULL }
  685. </MACRO>
  686. <MACRO>
  687. <NAME>GNOMEUIINFO_MENU_REDO_MOVE_ITEM</NAME>
  688. #define GNOMEUIINFO_MENU_REDO_MOVE_ITEM(cb, data)                            \
  689.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  690.           cb, (gpointer)(data), NULL,                                       \
  691.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  692.           GNOME_APP_CONFIGURABLE_ITEM_REDO_MOVE, (GdkModifierType) 0, NULL }
  693. </MACRO>
  694. <MACRO>
  695. <NAME>GNOMEUIINFO_MENU_HINT_ITEM</NAME>
  696. #define GNOMEUIINFO_MENU_HINT_ITEM(cb, data)                            \
  697.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  698.           cb, (gpointer)(data), NULL,                                       \
  699.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  700.           GNOME_APP_CONFIGURABLE_ITEM_HINT, (GdkModifierType) 0, NULL }
  701. </MACRO>
  702. <MACRO>
  703. <NAME>GNOMEUIINFO_MENU_SCORES_ITEM</NAME>
  704. #define GNOMEUIINFO_MENU_SCORES_ITEM(cb, data)                            \
  705.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  706.           cb, (gpointer)(data), NULL,                                       \
  707.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  708.           GNOME_APP_CONFIGURABLE_ITEM_SCORES, (GdkModifierType) 0, NULL }
  709. </MACRO>
  710. <MACRO>
  711. <NAME>GNOMEUIINFO_MENU_END_GAME_ITEM</NAME>
  712. #define GNOMEUIINFO_MENU_END_GAME_ITEM(cb, data)                            \
  713.         { GNOME_APP_UI_ITEM_CONFIGURABLE, NULL, NULL,                       \
  714.           cb, (gpointer)(data), NULL,                                       \
  715.           GNOME_APP_PIXMAP_NONE, NULL,                                      \
  716.           GNOME_APP_CONFIGURABLE_ITEM_END_GAME, (GdkModifierType) 0, NULL }
  717. </MACRO>
  718. <FUNCTION>
  719. <NAME>gnome_app_helper_gettext</NAME>
  720. <RETURNS>char  *</RETURNS>
  721. char *string
  722. </FUNCTION>
  723. <MACRO>
  724. <NAME>D_</NAME>
  725. #define D_(x) dgettext (PACKAGE, x)
  726. </MACRO>
  727. <MACRO>
  728. <NAME>L_</NAME>
  729. #define L_(x) gnome_app_helper_gettext(x)
  730. </MACRO>
  731. <MACRO>
  732. <NAME>D_</NAME>
  733. #define D_(x) x
  734. </MACRO>
  735. <MACRO>
  736. <NAME>L_</NAME>
  737. #define L_(x) x
  738. </MACRO>
  739. <MACRO>
  740. <NAME>GNOMEUIINFO_MENU_FILE_TREE</NAME>
  741. #define GNOMEUIINFO_MENU_FILE_TREE(tree) \
  742.     { GNOME_APP_UI_SUBTREE_STOCK, N_("_File"), NULL, tree, NULL, NULL, \
  743.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  744. </MACRO>
  745. <MACRO>
  746. <NAME>GNOMEUIINFO_MENU_EDIT_TREE</NAME>
  747. #define GNOMEUIINFO_MENU_EDIT_TREE(tree) \
  748.     { GNOME_APP_UI_SUBTREE_STOCK, N_("_Edit"), NULL, tree, NULL, NULL, \
  749.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  750. </MACRO>
  751. <MACRO>
  752. <NAME>GNOMEUIINFO_MENU_VIEW_TREE</NAME>
  753. #define GNOMEUIINFO_MENU_VIEW_TREE(tree) \
  754.     { GNOME_APP_UI_SUBTREE_STOCK, N_("_View"), NULL, tree, NULL, NULL, \
  755.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  756. </MACRO>
  757. <MACRO>
  758. <NAME>GNOMEUIINFO_MENU_SETTINGS_TREE</NAME>
  759. #define GNOMEUIINFO_MENU_SETTINGS_TREE(tree) \
  760.     { GNOME_APP_UI_SUBTREE_STOCK, N_("_Settings"), NULL, tree, NULL, NULL, \
  761.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  762. </MACRO>
  763. <MACRO>
  764. <NAME>GNOMEUIINFO_MENU_FILES_TREE</NAME>
  765. #define GNOMEUIINFO_MENU_FILES_TREE(tree) \
  766.     { GNOME_APP_UI_SUBTREE_STOCK, N_("Fi_les"), NULL, tree, NULL, NULL, \
  767.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  768. </MACRO>
  769. <MACRO>
  770. <NAME>GNOMEUIINFO_MENU_WINDOWS_TREE</NAME>
  771. #define GNOMEUIINFO_MENU_WINDOWS_TREE(tree) \
  772.     { GNOME_APP_UI_SUBTREE_STOCK, N_("_Windows"), NULL, tree, NULL, NULL, \
  773.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  774. </MACRO>
  775. <MACRO>
  776. <NAME>GNOMEUIINFO_MENU_HELP_TREE</NAME>
  777. #define GNOMEUIINFO_MENU_HELP_TREE(tree) \
  778.     { GNOME_APP_UI_SUBTREE_STOCK, N_("_Help"), NULL, tree, NULL, NULL, \
  779.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  780. </MACRO>
  781. <MACRO>
  782. <NAME>GNOMEUIINFO_MENU_GAME_TREE</NAME>
  783. #define GNOMEUIINFO_MENU_GAME_TREE(tree) \
  784.     { GNOME_APP_UI_SUBTREE_STOCK, N_("_Game"), NULL, tree, NULL, NULL, \
  785.         (GnomeUIPixmapType) 0, NULL, 0,    (GdkModifierType) 0, NULL }
  786. </MACRO>
  787. <MACRO>
  788. <NAME>GNOME_MENU_FILE_STRING</NAME>
  789. #define GNOME_MENU_FILE_STRING D_("_File")
  790. </MACRO>
  791. <MACRO>
  792. <NAME>GNOME_MENU_FILE_PATH</NAME>
  793. #define GNOME_MENU_FILE_PATH D_("_File/")
  794. </MACRO>
  795. <MACRO>
  796. <NAME>GNOME_MENU_EDIT_STRING</NAME>
  797. #define GNOME_MENU_EDIT_STRING D_("_Edit")
  798. </MACRO>
  799. <MACRO>
  800. <NAME>GNOME_MENU_EDIT_PATH</NAME>
  801. #define GNOME_MENU_EDIT_PATH D_("_Edit/")
  802. </MACRO>
  803. <MACRO>
  804. <NAME>GNOME_MENU_VIEW_STRING</NAME>
  805. #define GNOME_MENU_VIEW_STRING D_("_View")
  806. </MACRO>
  807. <MACRO>
  808. <NAME>GNOME_MENU_VIEW_PATH</NAME>
  809. #define GNOME_MENU_VIEW_PATH D_("_View/")
  810. </MACRO>
  811. <MACRO>
  812. <NAME>GNOME_MENU_SETTINGS_STRING</NAME>
  813. #define GNOME_MENU_SETTINGS_STRING D_("_Settings")
  814. </MACRO>
  815. <MACRO>
  816. <NAME>GNOME_MENU_SETTINGS_PATH</NAME>
  817. #define GNOME_MENU_SETTINGS_PATH D_("_Settings/")
  818. </MACRO>
  819. <MACRO>
  820. <NAME>GNOME_MENU_NEW_STRING</NAME>
  821. #define GNOME_MENU_NEW_STRING D_("_New")
  822. </MACRO>
  823. <MACRO>
  824. <NAME>GNOME_MENU_NEW_PATH</NAME>
  825. #define GNOME_MENU_NEW_PATH D_("_New/")
  826. </MACRO>
  827. <MACRO>
  828. <NAME>GNOME_MENU_FILES_STRING</NAME>
  829. #define GNOME_MENU_FILES_STRING D_("Fi_les")
  830. </MACRO>
  831. <MACRO>
  832. <NAME>GNOME_MENU_FILES_PATH</NAME>
  833. #define GNOME_MENU_FILES_PATH D_("Fi_les/")
  834. </MACRO>
  835. <MACRO>
  836. <NAME>GNOME_MENU_WINDOWS_STRING</NAME>
  837. #define GNOME_MENU_WINDOWS_STRING D_("_Windows")
  838. </MACRO>
  839. <MACRO>
  840. <NAME>GNOME_MENU_WINDOWS_PATH</NAME>
  841. #define GNOME_MENU_WINDOWS_PATH D_("_Windows/")
  842. </MACRO>
  843. <STRUCT>
  844. <NAME>GnomeUIBuilderData</NAME>
  845. </STRUCT>
  846. <USER_FUNCTION>
  847. <NAME>GnomeUISignalConnectFunc</NAME>
  848. <RETURNS>void </RETURNS>
  849. GnomeUIInfo        *uiinfo,
  850.                        gchar              *signal_name,
  851.                        GnomeUIBuilderData *uibdata
  852. </USER_FUNCTION>
  853. <STRUCT>
  854. <NAME>GnomeUIBuilderData</NAME>
  855. struct GnomeUIBuilderData {
  856.     GnomeUISignalConnectFunc connect_func;    /* Function that connects to the item's signals */
  857.     gpointer data;                /* User data pointer */
  858.     gboolean is_interp;            /* Should use gtk_signal_connect_interp or normal gtk_signal_connect? */
  859.     GtkCallbackMarshal relay_func;        /* Marshaller function for language bindings */
  860.     GtkDestroyNotify destroy_func;        /* Destroy notification function for language bindings */
  861. };
  862. </STRUCT>
  863. <FUNCTION>
  864. <NAME>gnome_accelerators_sync</NAME>
  865. <RETURNS>void  </RETURNS>
  866. void
  867. </FUNCTION>
  868. <FUNCTION>
  869. <NAME>gnome_app_fill_menu</NAME>
  870. <RETURNS>void  </RETURNS>
  871. GtkMenuShell    *menu_shell,GnomeUIInfo    *uiinfo,GtkAccelGroup    *accel_group,gboolean     uline_accels,gint         pos
  872. </FUNCTION>
  873. <FUNCTION>
  874. <NAME>gnome_app_fill_menu_with_data</NAME>
  875. <RETURNS>void  </RETURNS>
  876. GtkMenuShell    *menu_shell,GnomeUIInfo        *uiinfo,GtkAccelGroup    *accel_group,gboolean         uline_accels,gint         pos,gpointer         user_data
  877. </FUNCTION>
  878. <FUNCTION>
  879. <NAME>gnome_app_fill_menu_custom</NAME>
  880. <RETURNS>void  </RETURNS>
  881. GtkMenuShell        *menu_shell,GnomeUIInfo        *uiinfo,GnomeUIBuilderData *uibdata,GtkAccelGroup        *accel_group,gboolean         uline_accels,gint             pos
  882. </FUNCTION>
  883. <FUNCTION>
  884. <NAME>gnome_app_ui_configure_configurable</NAME>
  885. <RETURNS>void  </RETURNS>
  886. GnomeUIInfo* uiinfo
  887. </FUNCTION>
  888. <FUNCTION>
  889. <NAME>gnome_app_create_menus</NAME>
  890. <RETURNS>void  </RETURNS>
  891. GnomeApp *app, GnomeUIInfo *uiinfo
  892. </FUNCTION>
  893. <FUNCTION>
  894. <NAME>gnome_app_create_menus_interp</NAME>
  895. <RETURNS>void  </RETURNS>
  896. GnomeApp *app, GnomeUIInfo *uiinfo,GtkCallbackMarshal relay_func, gpointer data,GtkDestroyNotify destroy_func
  897. </FUNCTION>
  898. <FUNCTION>
  899. <NAME>gnome_app_create_menus_with_data</NAME>
  900. <RETURNS>void  </RETURNS>
  901. GnomeApp *app, GnomeUIInfo *uiinfo, gpointer user_data
  902. </FUNCTION>
  903. <FUNCTION>
  904. <NAME>gnome_app_create_menus_custom</NAME>
  905. <RETURNS>void  </RETURNS>
  906. GnomeApp *app, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata
  907. </FUNCTION>
  908. <FUNCTION>
  909. <NAME>gnome_app_fill_toolbar</NAME>
  910. <RETURNS>void  </RETURNS>
  911. GtkToolbar *toolbar, GnomeUIInfo *uiinfo, GtkAccelGroup *accel_group
  912. </FUNCTION>
  913. <FUNCTION>
  914. <NAME>gnome_app_fill_toolbar_with_data</NAME>
  915. <RETURNS>void  </RETURNS>
  916. GtkToolbar *toolbar, GnomeUIInfo *uiinfo,GtkAccelGroup *accel_group, gpointer user_data
  917. </FUNCTION>
  918. <FUNCTION>
  919. <NAME>gnome_app_fill_toolbar_custom</NAME>
  920. <RETURNS>void  </RETURNS>
  921. GtkToolbar *toolbar, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata,GtkAccelGroup *accel_group
  922. </FUNCTION>
  923. <FUNCTION>
  924. <NAME>gnome_app_create_toolbar</NAME>
  925. <RETURNS>void  </RETURNS>
  926. GnomeApp *app, GnomeUIInfo *uiinfo
  927. </FUNCTION>
  928. <FUNCTION>
  929. <NAME>gnome_app_create_toolbar_interp</NAME>
  930. <RETURNS>void  </RETURNS>
  931. GnomeApp *app, GnomeUIInfo *uiinfo,GtkCallbackMarshal relay_func, gpointer data,GtkDestroyNotify destroy_func
  932. </FUNCTION>
  933. <FUNCTION>
  934. <NAME>gnome_app_create_toolbar_with_data</NAME>
  935. <RETURNS>void  </RETURNS>
  936. GnomeApp *app, GnomeUIInfo *uiinfo, gpointer user_data
  937. </FUNCTION>
  938. <FUNCTION>
  939. <NAME>gnome_app_create_toolbar_custom</NAME>
  940. <RETURNS>void  </RETURNS>
  941. GnomeApp *app, GnomeUIInfo *uiinfo, GnomeUIBuilderData *uibdata
  942. </FUNCTION>
  943. <FUNCTION>
  944. <NAME>gnome_app_find_menu_pos</NAME>
  945. <RETURNS>GtkWidget  *</RETURNS>
  946. GtkWidget *parent, gchar *path, gint *pos
  947. </FUNCTION>
  948. <FUNCTION>
  949. <NAME>gnome_app_remove_menus</NAME>
  950. <RETURNS>void  </RETURNS>
  951. GnomeApp *app, gchar *path, gint items
  952. </FUNCTION>
  953. <FUNCTION>
  954. <NAME>gnome_app_remove_menu_range</NAME>
  955. <RETURNS>void  </RETURNS>
  956. GnomeApp *app, gchar *path, gint start, gint items
  957. </FUNCTION>
  958. <FUNCTION>
  959. <NAME>gnome_app_insert_menus_custom</NAME>
  960. <RETURNS>void  </RETURNS>
  961. GnomeApp *app, gchar *path, GnomeUIInfo *menuinfo, GnomeUIBuilderData *uibdata
  962. </FUNCTION>
  963. <FUNCTION>
  964. <NAME>gnome_app_insert_menus</NAME>
  965. <RETURNS>void  </RETURNS>
  966. GnomeApp *app, gchar *path, GnomeUIInfo *menuinfo
  967. </FUNCTION>
  968. <FUNCTION>
  969. <NAME>gnome_app_insert_menus_with_data</NAME>
  970. <RETURNS>void  </RETURNS>
  971. GnomeApp *app, gchar *path, GnomeUIInfo *menuinfo, gpointer data
  972. </FUNCTION>
  973. <FUNCTION>
  974. <NAME>gnome_app_insert_menus_interp</NAME>
  975. <RETURNS>void  </RETURNS>
  976. GnomeApp *app, gchar *path, GnomeUIInfo *menuinfo,GtkCallbackMarshal relay_func, gpointer data,GtkDestroyNotify destroy_func
  977. </FUNCTION>
  978. <FUNCTION>
  979. <NAME>gnome_app_install_appbar_menu_hints</NAME>
  980. <RETURNS>void  </RETURNS>
  981. GnomeAppBar* appbar,GnomeUIInfo* uiinfo
  982. </FUNCTION>
  983. <FUNCTION>
  984. <NAME>gnome_app_install_statusbar_menu_hints</NAME>
  985. <RETURNS>void  </RETURNS>
  986. GtkStatusbar* bar,GnomeUIInfo* uiinfo
  987. </FUNCTION>
  988. <FUNCTION>
  989. <NAME>gnome_app_install_menu_hints</NAME>
  990. <RETURNS>void  </RETURNS>
  991. GnomeApp *app,GnomeUIInfo *uinfo
  992. </FUNCTION>
  993. <FUNCTION>
  994. <NAME>gnome_app_message</NAME>
  995. <RETURNS>GtkWidget  *</RETURNS>
  996. GnomeApp * app, const gchar * message
  997. </FUNCTION>
  998. <FUNCTION>
  999. <NAME>gnome_app_flash</NAME>
  1000. <RETURNS>void</RETURNS>
  1001. GnomeApp * app, const gchar * flash
  1002. </FUNCTION>
  1003. <FUNCTION>
  1004. <NAME>gnome_app_error</NAME>
  1005. <RETURNS>GtkWidget  *</RETURNS>
  1006. GnomeApp * app, const gchar * error
  1007. </FUNCTION>
  1008. <FUNCTION>
  1009. <NAME>gnome_app_warning</NAME>
  1010. <RETURNS>GtkWidget  *</RETURNS>
  1011. GnomeApp * app, const gchar * warning
  1012. </FUNCTION>
  1013. <FUNCTION>
  1014. <NAME>gnome_app_question</NAME>
  1015. <RETURNS>GtkWidget  *</RETURNS>
  1016. GnomeApp * app, const gchar * question,GnomeReplyCallback callback, gpointer data
  1017. </FUNCTION>
  1018. <FUNCTION>
  1019. <NAME>gnome_app_question_modal</NAME>
  1020. <RETURNS>GtkWidget  *</RETURNS>
  1021. GnomeApp * app, const gchar * question,GnomeReplyCallback callback, gpointer data
  1022. </FUNCTION>
  1023. <FUNCTION>
  1024. <NAME>gnome_app_ok_cancel</NAME>
  1025. <RETURNS>GtkWidget  *</RETURNS>
  1026. GnomeApp * app, const gchar * message,GnomeReplyCallback callback, gpointer data
  1027. </FUNCTION>
  1028. <FUNCTION>
  1029. <NAME>gnome_app_ok_cancel_modal</NAME>
  1030. <RETURNS>GtkWidget  *</RETURNS>
  1031. GnomeApp * app, const gchar * message,GnomeReplyCallback callback, gpointer data
  1032. </FUNCTION>
  1033. <FUNCTION>
  1034. <NAME>gnome_app_request_string</NAME>
  1035. <RETURNS>GtkWidget  *</RETURNS>
  1036. GnomeApp * app, const gchar * prompt,GnomeStringCallback callback, gpointer data
  1037. </FUNCTION>
  1038. <FUNCTION>
  1039. <NAME>gnome_app_request_password</NAME>
  1040. <RETURNS>GtkWidget  *</RETURNS>
  1041. GnomeApp * app, const gchar * prompt,GnomeStringCallback callback, gpointer data
  1042. </FUNCTION>
  1043. <USER_FUNCTION>
  1044. <NAME>GnomeAppProgressFunc</NAME>
  1045. <RETURNS>gdouble </RETURNS>
  1046. gpointer data
  1047. </USER_FUNCTION>
  1048. <USER_FUNCTION>
  1049. <NAME>GnomeAppProgressCancelFunc</NAME>
  1050. <RETURNS>void </RETURNS>
  1051. gpointer data
  1052. </USER_FUNCTION>
  1053. <TYPEDEF>
  1054. <NAME>GnomeAppProgressKey</NAME>
  1055. typedef gpointer GnomeAppProgressKey;
  1056. </TYPEDEF>
  1057. <FUNCTION>
  1058. <NAME>gnome_app_progress_timeout</NAME>
  1059. <RETURNS>GnomeAppProgressKey</RETURNS>
  1060. GnomeApp * app,const gchar * description,guint32 interval,GnomeAppProgressFunc percentage_cb,GnomeAppProgressCancelFunc cancel_cb,gpointer data
  1061. </FUNCTION>
  1062. <FUNCTION>
  1063. <NAME>gnome_app_progress_manual</NAME>
  1064. <RETURNS>GnomeAppProgressKey</RETURNS>
  1065. GnomeApp * app,const gchar * description,GnomeAppProgressCancelFunc cancel_cb,gpointer data
  1066. </FUNCTION>
  1067. <FUNCTION>
  1068. <NAME>gnome_app_set_progress</NAME>
  1069. <RETURNS>void</RETURNS>
  1070. GnomeAppProgressKey key, gdouble percent
  1071. </FUNCTION>
  1072. <FUNCTION>
  1073. <NAME>gnome_app_progress_done</NAME>
  1074. <RETURNS>void</RETURNS>
  1075. GnomeAppProgressKey key
  1076. </FUNCTION>
  1077. <MACRO>
  1078. <NAME>GNOME_APP_MENUBAR_NAME</NAME>
  1079. #define GNOME_APP_MENUBAR_NAME "Menubar"
  1080. </MACRO>
  1081. <MACRO>
  1082. <NAME>GNOME_APP_TOOLBAR_NAME</NAME>
  1083. #define GNOME_APP_TOOLBAR_NAME "Toolbar"
  1084. </MACRO>
  1085. <MACRO>
  1086. <NAME>GNOME_APP</NAME>
  1087. #define GNOME_APP(obj)         GTK_CHECK_CAST(obj, gnome_app_get_type(), GnomeApp)
  1088. </MACRO>
  1089. <MACRO>
  1090. <NAME>GNOME_APP_CLASS</NAME>
  1091. #define GNOME_APP_CLASS(class) GTK_CHECK_CAST_CLASS(class, gnome_app_get_type(), GnomeAppClass)
  1092. </MACRO>
  1093. <MACRO>
  1094. <NAME>GNOME_IS_APP</NAME>
  1095. #define GNOME_IS_APP(obj)      GTK_CHECK_TYPE(obj, gnome_app_get_type())
  1096. </MACRO>
  1097. <STRUCT>
  1098. <NAME>GnomeApp</NAME>
  1099. </STRUCT>
  1100. <STRUCT>
  1101. <NAME>GnomeAppClass</NAME>
  1102. </STRUCT>
  1103. <STRUCT>
  1104. <NAME>GnomeApp</NAME>
  1105. struct GnomeApp {
  1106.     GtkWindow parent_object;
  1107.  
  1108.     /* Application name. */
  1109.     char *name;
  1110.  
  1111.     /* Prefix for gnome-config (used to save the layout).  */
  1112.     char *prefix;
  1113.  
  1114.         /* The dock.  */
  1115.         GtkWidget *dock;
  1116.  
  1117.     /* The status bar.  */
  1118.         GtkWidget *statusbar;
  1119.  
  1120.     /* The vbox widget that ties them.  */
  1121.     GtkWidget *vbox;
  1122.  
  1123.     /* The menubar.  This is a pointer to a widget contained into
  1124.            the dock.  */
  1125.     GtkWidget *menubar;
  1126.  
  1127.     /* The contents.  This is a pointer to dock->client_area.  */
  1128.     GtkWidget *contents;
  1129.  
  1130.     /* Dock layout.  */
  1131.     GnomeDockLayout *layout;
  1132.  
  1133.     /* Main accelerator group for this window (hotkeys live here).  */
  1134.     GtkAccelGroup *accel_group;
  1135.  
  1136.     /* If TRUE, the application uses gnome-config to retrieve and
  1137.            save the docking configuration automagically.  */
  1138.     gboolean enable_layout_config : 1;
  1139. };
  1140. </STRUCT>
  1141. <FUNCTION>
  1142. <NAME>gnome_app_get_type</NAME>
  1143. <RETURNS>GtkType  </RETURNS>
  1144. void
  1145. </FUNCTION>
  1146. <FUNCTION>
  1147. <NAME>gnome_app_new</NAME>
  1148. <RETURNS>GtkWidget  *</RETURNS>
  1149. gchar *appname, char *title
  1150. </FUNCTION>
  1151. <FUNCTION>
  1152. <NAME>gnome_app_construct</NAME>
  1153. <RETURNS>void  </RETURNS>
  1154. GnomeApp *app, gchar *appname, char *title
  1155. </FUNCTION>
  1156. <FUNCTION>
  1157. <NAME>gnome_app_set_menus</NAME>
  1158. <RETURNS>void  </RETURNS>
  1159. GnomeApp *app, GtkMenuBar *menubar
  1160. </FUNCTION>
  1161. <FUNCTION>
  1162. <NAME>gnome_app_set_toolbar</NAME>
  1163. <RETURNS>void  </RETURNS>
  1164. GnomeApp *app, GtkToolbar *toolbar
  1165. </FUNCTION>
  1166. <FUNCTION>
  1167. <NAME>gnome_app_set_statusbar</NAME>
  1168. <RETURNS>void  </RETURNS>
  1169. GnomeApp *app, GtkWidget *statusbar
  1170. </FUNCTION>
  1171. <FUNCTION>
  1172. <NAME>gnome_app_set_statusbar_custom</NAME>
  1173. <RETURNS>void  </RETURNS>
  1174. GnomeApp *app,GtkWidget *container,GtkWidget *statusbar
  1175. </FUNCTION>
  1176. <FUNCTION>
  1177. <NAME>gnome_app_set_contents</NAME>
  1178. <RETURNS>void  </RETURNS>
  1179. GnomeApp *app, GtkWidget *contents
  1180. </FUNCTION>
  1181. <FUNCTION>
  1182. <NAME>gnome_app_add_toolbar</NAME>
  1183. <RETURNS>void  </RETURNS>
  1184. GnomeApp *app,GtkToolbar *toolbar,const gchar *name,GnomeDockItemBehavior behavior,GnomeDockPlacement placement,gint band_num,gint band_position,gint offset
  1185. </FUNCTION>
  1186. <FUNCTION>
  1187. <NAME>gnome_app_add_docked</NAME>
  1188. <RETURNS>void  </RETURNS>
  1189. GnomeApp *app,GtkWidget *widget,const gchar *name,GnomeDockItemBehavior behavior,GnomeDockPlacement placement,gint band_num,gint band_position,gint offset
  1190. </FUNCTION>
  1191. <FUNCTION>
  1192. <NAME>gnome_app_add_dock_item</NAME>
  1193. <RETURNS>void  </RETURNS>
  1194. GnomeApp *app,GnomeDockItem *item,GnomeDockPlacement placement,gint band_num,gint band_position,gint offset
  1195. </FUNCTION>
  1196. <FUNCTION>
  1197. <NAME>gnome_app_enable_layout_config</NAME>
  1198. <RETURNS>void  </RETURNS>
  1199. GnomeApp *app, gboolean enable
  1200. </FUNCTION>
  1201. <FUNCTION>
  1202. <NAME>gnome_app_get_dock</NAME>
  1203. <RETURNS>GnomeDock  *</RETURNS>
  1204. GnomeApp *app
  1205. </FUNCTION>
  1206. <FUNCTION>
  1207. <NAME>gnome_app_get_dock_item_by_name</NAME>
  1208. <RETURNS>GnomeDockItem  *</RETURNS>
  1209. GnomeApp *app,const gchar *name
  1210. </FUNCTION>
  1211. <MACRO>
  1212. <NAME>GNOME_APPBAR</NAME>
  1213. #define GNOME_APPBAR(obj)          GTK_CHECK_CAST (obj, gnome_appbar_get_type (), GnomeAppBar)
  1214. </MACRO>
  1215. <MACRO>
  1216. <NAME>GNOME_APPBAR_CLASS</NAME>
  1217. #define GNOME_APPBAR_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_appbar_get_type (), GnomeAppBarClass)
  1218. </MACRO>
  1219. <MACRO>
  1220. <NAME>GNOME_IS_APPBAR</NAME>
  1221. #define GNOME_IS_APPBAR(obj)       GTK_CHECK_TYPE (obj, gnome_appbar_get_type ())
  1222. </MACRO>
  1223. <MACRO>
  1224. <NAME>GNOME_APPBAR_HAS_STATUS</NAME>
  1225. #define GNOME_APPBAR_HAS_STATUS(appbar) (GNOME_APPBAR(appbar)->status != NULL)
  1226. </MACRO>
  1227. <MACRO>
  1228. <NAME>GNOME_APPBAR_HAS_PROGRESS</NAME>
  1229. #define GNOME_APPBAR_HAS_PROGRESS(appbar) (GNOME_APPBAR(appbar)->progress != NULL)
  1230. </MACRO>
  1231. <STRUCT>
  1232. <NAME>GnomeAppBar</NAME>
  1233. </STRUCT>
  1234. <STRUCT>
  1235. <NAME>GnomeAppBarClass</NAME>
  1236. </STRUCT>
  1237. <STRUCT>
  1238. <NAME>GnomeAppBarMsg</NAME>
  1239. </STRUCT>
  1240. <STRUCT>
  1241. <NAME>GnomeAppBar</NAME>
  1242. struct GnomeAppBar
  1243. {
  1244.   GtkHBox parent_widget;
  1245.  
  1246.   /* Private; there's no guarantee on the type of these in the
  1247.      future. Statusbar could be a label, entry, GtkStatusbar, or
  1248.      something else; progress could be a label or progress bar; it's
  1249.      all up in the air for now. */
  1250.   GtkWidget * progress;
  1251.   GtkWidget * status;
  1252.   guint interactive : 1; /* This means status is an entry rather than a
  1253.                label, for the moment. */
  1254.   gint editable_start; /* The first editable position in the interactive
  1255.               buffer. */
  1256.   gchar * prompt; /* The text of a prompt, if any. */
  1257.  
  1258.   /* Keep it simple; no contexts. 
  1259.      if (status_stack) display_top_of_stack;
  1260.      else if (default_status) display_default;
  1261.      else display_nothing;      */
  1262.   /* Also private by the way */
  1263.   GSList * status_stack;
  1264.   gchar  * default_status;
  1265. };
  1266. </STRUCT>
  1267. <MACRO>
  1268. <NAME>GNOME_APPBAR_INTERACTIVE</NAME>
  1269. #define GNOME_APPBAR_INTERACTIVE(ab) ((ab) ? (ab)->interactive : FALSE)
  1270. </MACRO>
  1271. <FUNCTION>
  1272. <NAME>gnome_appbar_get_type</NAME>
  1273. <RETURNS>guint  </RETURNS>
  1274. void
  1275. </FUNCTION>
  1276. <FUNCTION>
  1277. <NAME>gnome_appbar_new</NAME>
  1278. <RETURNS>GtkWidget *</RETURNS>
  1279. gboolean has_progress,gboolean has_status,GnomePreferencesType interactivity
  1280. </FUNCTION>
  1281. <FUNCTION>
  1282. <NAME>gnome_appbar_set_status</NAME>
  1283. <RETURNS>void  </RETURNS>
  1284. GnomeAppBar * appbar,const gchar * status
  1285. </FUNCTION>
  1286. <FUNCTION>
  1287. <NAME>gnome_appbar_set_default</NAME>
  1288. <RETURNS>void     </RETURNS>
  1289. GnomeAppBar * appbar,const gchar * default_status
  1290. </FUNCTION>
  1291. <FUNCTION>
  1292. <NAME>gnome_appbar_push</NAME>
  1293. <RETURNS>void  </RETURNS>
  1294. GnomeAppBar * appbar,const gchar * status
  1295. </FUNCTION>
  1296. <FUNCTION>
  1297. <NAME>gnome_appbar_pop</NAME>
  1298. <RETURNS>void  </RETURNS>
  1299. GnomeAppBar * appbar
  1300. </FUNCTION>
  1301. <FUNCTION>
  1302. <NAME>gnome_appbar_clear_stack</NAME>
  1303. <RETURNS>void  </RETURNS>
  1304. GnomeAppBar * appbar
  1305. </FUNCTION>
  1306. <FUNCTION>
  1307. <NAME>gnome_appbar_set_progress</NAME>
  1308. <RETURNS>void     </RETURNS>
  1309. GnomeAppBar *appbar,gfloat percentage
  1310. </FUNCTION>
  1311. <FUNCTION>
  1312. <NAME>gnome_appbar_get_progress</NAME>
  1313. <RETURNS>GtkProgress *</RETURNS>
  1314. GnomeAppBar * appbar
  1315. </FUNCTION>
  1316. <FUNCTION>
  1317. <NAME>gnome_appbar_refresh</NAME>
  1318. <RETURNS>void  </RETURNS>
  1319. GnomeAppBar * appbar
  1320. </FUNCTION>
  1321. <FUNCTION>
  1322. <NAME>gnome_appbar_set_prompt</NAME>
  1323. <RETURNS>void  </RETURNS>
  1324. GnomeAppBar * appbar,const gchar * prompt,gboolean modal
  1325. </FUNCTION>
  1326. <FUNCTION>
  1327. <NAME>gnome_appbar_clear_prompt</NAME>
  1328. <RETURNS>void  </RETURNS>
  1329. GnomeAppBar * appbar
  1330. </FUNCTION>
  1331. <FUNCTION>
  1332. <NAME>gnome_appbar_get_response</NAME>
  1333. <RETURNS>gchar  *</RETURNS>
  1334. GnomeAppBar * appbar
  1335. </FUNCTION>
  1336. <FUNCTION>
  1337. <NAME>gnome_appbar_construct</NAME>
  1338. <RETURNS>void  </RETURNS>
  1339. GnomeAppBar * ab,gboolean has_progress,gboolean has_status,GnomePreferencesType interactivity
  1340. </FUNCTION>
  1341. <MACRO>
  1342. <NAME>GNOME_CALCULATOR</NAME>
  1343. #define GNOME_CALCULATOR(obj)         GTK_CHECK_CAST (obj, gnome_calculator_get_type (), GnomeCalculator)
  1344. </MACRO>
  1345. <MACRO>
  1346. <NAME>GNOME_CALCULATOR_CLASS</NAME>
  1347. #define GNOME_CALCULATOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_calculator_get_type (), GnomeCalculatorClass)
  1348. </MACRO>
  1349. <MACRO>
  1350. <NAME>GNOME_IS_CALCULATOR</NAME>
  1351. #define GNOME_IS_CALCULATOR(obj)      GTK_CHECK_TYPE (obj, gnome_calculator_get_type ())
  1352. </MACRO>
  1353. <STRUCT>
  1354. <NAME>GnomeCalculator</NAME>
  1355. </STRUCT>
  1356. <STRUCT>
  1357. <NAME>GnomeCalculatorClass</NAME>
  1358. </STRUCT>
  1359. <ENUM>
  1360. <NAME>GnomeCalculatorMode</NAME>
  1361. typedef enum {
  1362.     GNOME_CALCULATOR_DEG,
  1363.     GNOME_CALCULATOR_RAD,
  1364.     GNOME_CALCULATOR_GRAD
  1365. } GnomeCalculatorMode;
  1366. </ENUM>
  1367. <STRUCT>
  1368. <NAME>GnomeCalculator</NAME>
  1369. struct GnomeCalculator {
  1370.     GtkVBox vbox;
  1371.  
  1372.     gdouble result;
  1373.     gchar result_string[13];
  1374.     gdouble memory;
  1375.  
  1376.     GtkWidget *display;
  1377.  
  1378.     GnomeCalculatorMode mode;
  1379.  
  1380.     guint add_digit : 1;    /*add a digit instead of starting a new
  1381.                   number*/
  1382.     guint error : 1;
  1383.     guint invert : 1;
  1384.     GtkWidget *invert_button;
  1385.  
  1386.     GList *stack;
  1387.     GtkAccelGroup *accel;
  1388. };
  1389. </STRUCT>
  1390. <FUNCTION>
  1391. <NAME>gnome_calculator_get_type</NAME>
  1392. <RETURNS>guint     </RETURNS>
  1393. void
  1394. </FUNCTION>
  1395. <FUNCTION>
  1396. <NAME>gnome_calculator_new</NAME>
  1397. <RETURNS>GtkWidget     *</RETURNS>
  1398. void
  1399. </FUNCTION>
  1400. <FUNCTION>
  1401. <NAME>gnome_calculator_clear</NAME>
  1402. <RETURNS>void     </RETURNS>
  1403. GnomeCalculator *gc,const gboolean reset
  1404. </FUNCTION>
  1405. <FUNCTION>
  1406. <NAME>gnome_calculator_set</NAME>
  1407. <RETURNS>void     </RETURNS>
  1408. GnomeCalculator *gc,gdouble result
  1409. </FUNCTION>
  1410. <MACRO>
  1411. <NAME>gnome_calculator_get_result</NAME>
  1412. #define gnome_calculator_get_result(gc) (GNOME_CALCULATOR(gc)->result)
  1413. </MACRO>
  1414. <MACRO>
  1415. <NAME>GNOME_TYPE_CANVAS_IMAGE</NAME>
  1416. #define GNOME_TYPE_CANVAS_IMAGE            (gnome_canvas_image_get_type ())
  1417. </MACRO>
  1418. <MACRO>
  1419. <NAME>GNOME_CANVAS_IMAGE</NAME>
  1420. #define GNOME_CANVAS_IMAGE(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_IMAGE, GnomeCanvasImage))
  1421. </MACRO>
  1422. <MACRO>
  1423. <NAME>GNOME_CANVAS_IMAGE_CLASS</NAME>
  1424. #define GNOME_CANVAS_IMAGE_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_IMAGE, GnomeCanvasImageClass))
  1425. </MACRO>
  1426. <MACRO>
  1427. <NAME>GNOME_IS_CANVAS_IMAGE</NAME>
  1428. #define GNOME_IS_CANVAS_IMAGE(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_IMAGE))
  1429. </MACRO>
  1430. <MACRO>
  1431. <NAME>GNOME_IS_CANVAS_IMAGE_CLASS</NAME>
  1432. #define GNOME_IS_CANVAS_IMAGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_IMAGE))
  1433. </MACRO>
  1434. <STRUCT>
  1435. <NAME>GnomeCanvasImage</NAME>
  1436. </STRUCT>
  1437. <STRUCT>
  1438. <NAME>GnomeCanvasImageClass</NAME>
  1439. </STRUCT>
  1440. <STRUCT>
  1441. <NAME>GnomeCanvasImage</NAME>
  1442. struct GnomeCanvasImage {
  1443.     GnomeCanvasItem item;
  1444.  
  1445.     GdkImlibImage *im;        /* The image to paint */
  1446.     GdkPixmap *pixmap;        /* Pixmap rendered from the image */
  1447.     GdkBitmap *mask;        /* Mask rendered from the image */
  1448.  
  1449.     double x, y;            /* Position at anchor, item relative */
  1450.     double width, height;        /* Size of image, item relative */
  1451.     GtkAnchorType anchor;        /* Anchor side for image */
  1452.  
  1453.     int cx, cy;            /* Top-left canvas coordinates for display */
  1454.     int cwidth, cheight;        /* Rendered size in pixels */
  1455.     GdkGC *gc;            /* GC for drawing image */
  1456.  
  1457.     unsigned int need_recalc : 1;    /* Do we need to rescale the image? */
  1458.  
  1459.     ArtPixBuf *pixbuf;        /* A pixbuf, for aa rendering */
  1460.     double affine[6];               /* The item -> canvas affine */
  1461. };
  1462. </STRUCT>
  1463. <FUNCTION>
  1464. <NAME>gnome_canvas_image_get_type</NAME>
  1465. <RETURNS>GtkType  </RETURNS>
  1466. void
  1467. </FUNCTION>
  1468. <MACRO>
  1469. <NAME>GNOME_TYPE_CANVAS_LINE</NAME>
  1470. #define GNOME_TYPE_CANVAS_LINE            (gnome_canvas_line_get_type ())
  1471. </MACRO>
  1472. <MACRO>
  1473. <NAME>GNOME_CANVAS_LINE</NAME>
  1474. #define GNOME_CANVAS_LINE(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_LINE, GnomeCanvasLine))
  1475. </MACRO>
  1476. <MACRO>
  1477. <NAME>GNOME_CANVAS_LINE_CLASS</NAME>
  1478. #define GNOME_CANVAS_LINE_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_LINE, GnomeCanvasLineClass))
  1479. </MACRO>
  1480. <MACRO>
  1481. <NAME>GNOME_IS_CANVAS_LINE</NAME>
  1482. #define GNOME_IS_CANVAS_LINE(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_LINE))
  1483. </MACRO>
  1484. <MACRO>
  1485. <NAME>GNOME_IS_CANVAS_LINE_CLASS</NAME>
  1486. #define GNOME_IS_CANVAS_LINE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_LINE))
  1487. </MACRO>
  1488. <STRUCT>
  1489. <NAME>GnomeCanvasLine</NAME>
  1490. </STRUCT>
  1491. <STRUCT>
  1492. <NAME>GnomeCanvasLineClass</NAME>
  1493. </STRUCT>
  1494. <STRUCT>
  1495. <NAME>GnomeCanvasLine</NAME>
  1496. struct GnomeCanvasLine {
  1497.     GnomeCanvasItem item;
  1498.  
  1499.     int num_points;        /* Number of points in the line */
  1500.     double *coords;        /* Array of coordinates for the line's points.  X coords are in the
  1501.                  * even indices, Y coords are in the odd indices.  If the line has
  1502.                  * arrowheads then the first and last points have been adjusted to
  1503.                  * refer to the necks of the arrowheads rather than their tips.  The
  1504.                  * actual endpoints are stored in the first_arrow and last_arrow
  1505.                  * arrays, if they exist.
  1506.                  */
  1507.  
  1508.     double width;        /* Width of the line */
  1509.  
  1510.     guint fill_color;    /* Fill color, RGBA */
  1511.  
  1512.     gulong fill_pixel;    /* Color for line */
  1513.  
  1514.     GdkBitmap *stipple;    /* Stipple pattern */
  1515.  
  1516.     GdkCapStyle cap;    /* Cap style for line */
  1517.     GdkJoinStyle join;    /* Join style for line */
  1518.     GdkLineStyle line_style;/* Style for the line */
  1519.  
  1520.     double shape_a;        /* Distance from tip of arrowhead to center */
  1521.     double shape_b;        /* Distance from tip of arrowhead to trailing point, measured along shaft */
  1522.     double shape_c;        /* Distance of trailing points from outside edge of shaft */
  1523.  
  1524.     double *first_coords;    /* Array of points describing polygon for the first arrowhead */
  1525.     double *last_coords;    /* Array of points describing polygon for the last arrowhead */
  1526.  
  1527.     int spline_steps;    /* Number of steps in each spline segment */
  1528.  
  1529.     GdkGC *gc;        /* GC for drawing line */
  1530.  
  1531.     guint width_pixels : 1;    /* Is the width specified in pixels or units? */
  1532.     guint first_arrow : 1;    /* Draw first arrowhead? */
  1533.     guint last_arrow : 1;    /* Draw last arrowhead? */
  1534.     guint smooth : 1;    /* Smooth line (with parabolic splines)? */
  1535.  
  1536.     /* Antialiased specific stuff follows */
  1537.     guint32 fill_rgba;        /* RGBA color for outline */
  1538.     ArtSVP *fill_svp;        /* The SVP for the outline shape */
  1539.     ArtSVP *first_svp;        /* The SVP for the first arrow */
  1540.     ArtSVP *last_svp;        /* The SVP for the last arrow */
  1541. };
  1542. </STRUCT>
  1543. <FUNCTION>
  1544. <NAME>gnome_canvas_line_get_type</NAME>
  1545. <RETURNS>GtkType  </RETURNS>
  1546. void
  1547. </FUNCTION>
  1548. <FUNCTION>
  1549. <NAME>gnome_canvas_load_alpha</NAME>
  1550. <RETURNS>GdkImlibImage  *</RETURNS>
  1551. char *file
  1552. </FUNCTION>
  1553. <FUNCTION>
  1554. <NAME>gnome_canvas_destroy_image</NAME>
  1555. <RETURNS>void  </RETURNS>
  1556. GdkImlibImage *image
  1557. </FUNCTION>
  1558. <MACRO>
  1559. <NAME>GNOME_TYPE_CANVAS_POLYGON</NAME>
  1560. #define GNOME_TYPE_CANVAS_POLYGON            (gnome_canvas_polygon_get_type ())
  1561. </MACRO>
  1562. <MACRO>
  1563. <NAME>GNOME_CANVAS_POLYGON</NAME>
  1564. #define GNOME_CANVAS_POLYGON(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_POLYGON, GnomeCanvasPolygon))
  1565. </MACRO>
  1566. <MACRO>
  1567. <NAME>GNOME_CANVAS_POLYGON_CLASS</NAME>
  1568. #define GNOME_CANVAS_POLYGON_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_POLYGON, GnomeCanvasPolygonClass))
  1569. </MACRO>
  1570. <MACRO>
  1571. <NAME>GNOME_IS_CANVAS_POLYGON</NAME>
  1572. #define GNOME_IS_CANVAS_POLYGON(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_POLYGON))
  1573. </MACRO>
  1574. <MACRO>
  1575. <NAME>GNOME_IS_CANVAS_POLYGON_CLASS</NAME>
  1576. #define GNOME_IS_CANVAS_POLYGON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_POLYGON))
  1577. </MACRO>
  1578. <STRUCT>
  1579. <NAME>GnomeCanvasPolygon</NAME>
  1580. </STRUCT>
  1581. <STRUCT>
  1582. <NAME>GnomeCanvasPolygonClass</NAME>
  1583. </STRUCT>
  1584. <STRUCT>
  1585. <NAME>GnomeCanvasPolygon</NAME>
  1586. struct GnomeCanvasPolygon {
  1587.     GnomeCanvasItem item;
  1588.  
  1589.     int num_points;            /* Number of points in the polygon */
  1590.     double *coords;            /* Array of coordinates for the polygon's points.  X coords
  1591.                      * are in the even indices, Y coords are in the odd indices.
  1592.                      */
  1593.  
  1594.     double width;            /* Width of polygon's outline */
  1595.  
  1596.     guint fill_color;        /* Fill color, RGBA */
  1597.     guint outline_color;        /* Outline color, RGBA */
  1598.  
  1599.     gulong fill_pixel;        /* Color for fill */
  1600.     gulong outline_pixel;        /* Color for outline */
  1601.  
  1602.     GdkBitmap *fill_stipple;    /* Stipple for fill */
  1603.     GdkBitmap *outline_stipple;    /* Stipple for outline */
  1604.  
  1605.     GdkGC *fill_gc;            /* GC for filling */
  1606.     GdkGC *outline_gc;        /* GC for outline */
  1607.  
  1608.     guint fill_set : 1;        /* Is fill color set? */
  1609.     guint outline_set : 1;        /* Is outline color set? */
  1610.     guint width_pixels : 1;        /* Is outline width specified in pixels or units? */
  1611.  
  1612.     /* Antialiased specific stuff follows */
  1613.     guint32 fill_rgba;        /* RGBA color for filling */
  1614.     ArtSVP *fill_svp;        /* The SVP for the filled shape */
  1615.     guint32 outline_rgba;        /* RGBA color for outline */
  1616.     ArtSVP *outline_svp;        /* The SVP for the outline shape */
  1617. };
  1618. </STRUCT>
  1619. <FUNCTION>
  1620. <NAME>gnome_canvas_polygon_get_type</NAME>
  1621. <RETURNS>GtkType  </RETURNS>
  1622. void
  1623. </FUNCTION>
  1624. <MACRO>
  1625. <NAME>GNOME_TYPE_CANVAS_RE</NAME>
  1626. #define GNOME_TYPE_CANVAS_RE            (gnome_canvas_re_get_type ())
  1627. </MACRO>
  1628. <MACRO>
  1629. <NAME>GNOME_CANVAS_RE</NAME>
  1630. #define GNOME_CANVAS_RE(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_RE, GnomeCanvasRE))
  1631. </MACRO>
  1632. <MACRO>
  1633. <NAME>GNOME_CANVAS_RE_CLASS</NAME>
  1634. #define GNOME_CANVAS_RE_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_RE, GnomeCanvasREClass))
  1635. </MACRO>
  1636. <MACRO>
  1637. <NAME>GNOME_IS_CANVAS_RE</NAME>
  1638. #define GNOME_IS_CANVAS_RE(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_RE))
  1639. </MACRO>
  1640. <MACRO>
  1641. <NAME>GNOME_IS_CANVAS_RE_CLASS</NAME>
  1642. #define GNOME_IS_CANVAS_RE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_RE))
  1643. </MACRO>
  1644. <STRUCT>
  1645. <NAME>GnomeCanvasRE</NAME>
  1646. </STRUCT>
  1647. <STRUCT>
  1648. <NAME>GnomeCanvasREClass</NAME>
  1649. </STRUCT>
  1650. <STRUCT>
  1651. <NAME>GnomeCanvasRE</NAME>
  1652. struct GnomeCanvasRE {
  1653.     GnomeCanvasItem item;
  1654.  
  1655.     double x1, y1, x2, y2;        /* Corners of item */
  1656.     double width;            /* Outline width */
  1657.  
  1658.     guint fill_color;        /* Fill color, RGBA */
  1659.     guint outline_color;        /* Outline color, RGBA */
  1660.  
  1661.     gulong fill_pixel;        /* Fill color */
  1662.     gulong outline_pixel;        /* Outline color */
  1663.  
  1664.     GdkBitmap *fill_stipple;    /* Stipple for fill */
  1665.     GdkBitmap *outline_stipple;    /* Stipple for outline */
  1666.  
  1667.     GdkGC *fill_gc;            /* GC for filling */
  1668.     GdkGC *outline_gc;        /* GC for outline */
  1669.  
  1670.     /* Antialiased specific stuff follows */
  1671.  
  1672.     ArtSVP *fill_svp;        /* The SVP for the filled shape */
  1673.     ArtSVP *outline_svp;        /* The SVP for the outline shape */
  1674.  
  1675.     /* Configuration flags */
  1676.  
  1677.     unsigned int fill_set : 1;    /* Is fill color set? */
  1678.     unsigned int outline_set : 1;    /* Is outline color set? */
  1679.     unsigned int width_pixels : 1;    /* Is outline width specified in pixels or units? */
  1680. };
  1681. </STRUCT>
  1682. <FUNCTION>
  1683. <NAME>gnome_canvas_re_get_type</NAME>
  1684. <RETURNS>GtkType  </RETURNS>
  1685. void
  1686. </FUNCTION>
  1687. <MACRO>
  1688. <NAME>GNOME_TYPE_CANVAS_RECT</NAME>
  1689. #define GNOME_TYPE_CANVAS_RECT            (gnome_canvas_rect_get_type ())
  1690. </MACRO>
  1691. <MACRO>
  1692. <NAME>GNOME_CANVAS_RECT</NAME>
  1693. #define GNOME_CANVAS_RECT(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_RECT, GnomeCanvasRect))
  1694. </MACRO>
  1695. <MACRO>
  1696. <NAME>GNOME_CANVAS_RECT_CLASS</NAME>
  1697. #define GNOME_CANVAS_RECT_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_RECT, GnomeCanvasRectClass))
  1698. </MACRO>
  1699. <MACRO>
  1700. <NAME>GNOME_IS_CANVAS_RECT</NAME>
  1701. #define GNOME_IS_CANVAS_RECT(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_RECT))
  1702. </MACRO>
  1703. <MACRO>
  1704. <NAME>GNOME_IS_CANVAS_RECT_CLASS</NAME>
  1705. #define GNOME_IS_CANVAS_RECT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_RECT))
  1706. </MACRO>
  1707. <STRUCT>
  1708. <NAME>GnomeCanvasRect</NAME>
  1709. </STRUCT>
  1710. <STRUCT>
  1711. <NAME>GnomeCanvasRectClass</NAME>
  1712. </STRUCT>
  1713. <STRUCT>
  1714. <NAME>GnomeCanvasRect</NAME>
  1715. struct GnomeCanvasRect {
  1716.     GnomeCanvasRE re;
  1717. };
  1718. </STRUCT>
  1719. <FUNCTION>
  1720. <NAME>gnome_canvas_rect_get_type</NAME>
  1721. <RETURNS>GtkType  </RETURNS>
  1722. void
  1723. </FUNCTION>
  1724. <MACRO>
  1725. <NAME>GNOME_TYPE_CANVAS_ELLIPSE</NAME>
  1726. #define GNOME_TYPE_CANVAS_ELLIPSE            (gnome_canvas_ellipse_get_type ())
  1727. </MACRO>
  1728. <MACRO>
  1729. <NAME>GNOME_CANVAS_ELLIPSE</NAME>
  1730. #define GNOME_CANVAS_ELLIPSE(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_ELLIPSE, GnomeCanvasEllipse))
  1731. </MACRO>
  1732. <MACRO>
  1733. <NAME>GNOME_CANVAS_ELLIPSE_CLASS</NAME>
  1734. #define GNOME_CANVAS_ELLIPSE_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_ELLIPSE, GnomeCanvasEllipseClass))
  1735. </MACRO>
  1736. <MACRO>
  1737. <NAME>GNOME_IS_CANVAS_ELLIPSE</NAME>
  1738. #define GNOME_IS_CANVAS_ELLIPSE(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_ELLIPSE))
  1739. </MACRO>
  1740. <MACRO>
  1741. <NAME>GNOME_IS_CANVAS_ELLIPSE_CLASS</NAME>
  1742. #define GNOME_IS_CANVAS_ELLIPSE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_ELLIPSE))
  1743. </MACRO>
  1744. <STRUCT>
  1745. <NAME>GnomeCanvasEllipse</NAME>
  1746. </STRUCT>
  1747. <STRUCT>
  1748. <NAME>GnomeCanvasEllipseClass</NAME>
  1749. </STRUCT>
  1750. <STRUCT>
  1751. <NAME>GnomeCanvasEllipse</NAME>
  1752. struct GnomeCanvasEllipse {
  1753.     GnomeCanvasRE re;
  1754. };
  1755. </STRUCT>
  1756. <FUNCTION>
  1757. <NAME>gnome_canvas_ellipse_get_type</NAME>
  1758. <RETURNS>GtkType  </RETURNS>
  1759. void
  1760. </FUNCTION>
  1761. <MACRO>
  1762. <NAME>GNOME_TYPE_CANVAS_TEXT</NAME>
  1763. #define GNOME_TYPE_CANVAS_TEXT            (gnome_canvas_text_get_type ())
  1764. </MACRO>
  1765. <MACRO>
  1766. <NAME>GNOME_CANVAS_TEXT</NAME>
  1767. #define GNOME_CANVAS_TEXT(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_TEXT, GnomeCanvasText))
  1768. </MACRO>
  1769. <MACRO>
  1770. <NAME>GNOME_CANVAS_TEXT_CLASS</NAME>
  1771. #define GNOME_CANVAS_TEXT_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_TEXT, GnomeCanvasTextClass))
  1772. </MACRO>
  1773. <MACRO>
  1774. <NAME>GNOME_IS_CANVAS_TEXT</NAME>
  1775. #define GNOME_IS_CANVAS_TEXT(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_TEXT))
  1776. </MACRO>
  1777. <MACRO>
  1778. <NAME>GNOME_IS_CANVAS_TEXT_CLASS</NAME>
  1779. #define GNOME_IS_CANVAS_TEXT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_TEXT))
  1780. </MACRO>
  1781. <STRUCT>
  1782. <NAME>GnomeCanvasText</NAME>
  1783. </STRUCT>
  1784. <STRUCT>
  1785. <NAME>GnomeCanvasTextClass</NAME>
  1786. </STRUCT>
  1787. <STRUCT>
  1788. <NAME>GnomeCanvasTextSuckFont</NAME>
  1789. </STRUCT>
  1790. <STRUCT>
  1791. <NAME>GnomeCanvasTextSuckChar</NAME>
  1792. </STRUCT>
  1793. <STRUCT>
  1794. <NAME>GnomeCanvasTextSuckChar</NAME>
  1795. struct GnomeCanvasTextSuckChar {
  1796.     int     left_sb;
  1797.     int     right_sb;
  1798.     int     width;
  1799.     int     ascent;
  1800.     int     descent;
  1801.     int     bitmap_offset; /* in pixels */
  1802. };
  1803. </STRUCT>
  1804. <STRUCT>
  1805. <NAME>GnomeCanvasTextSuckFont</NAME>
  1806. struct GnomeCanvasTextSuckFont {
  1807.     guchar *bitmap;
  1808.     gint    bitmap_width;
  1809.     gint    bitmap_height;
  1810.     gint    ascent;
  1811.     GnomeCanvasTextSuckChar chars[256];
  1812. };
  1813. </STRUCT>
  1814. <STRUCT>
  1815. <NAME>GnomeCanvasText</NAME>
  1816. struct GnomeCanvasText {
  1817.     GnomeCanvasItem item;
  1818.  
  1819.     char *text;            /* Text to display */
  1820.     gpointer lines;            /* Text split into lines (private field) */
  1821.     int num_lines;            /* Number of lines of text */
  1822.  
  1823.     double x, y;            /* Position at anchor */
  1824.     GdkFont *font;            /* Font for text */
  1825.     GtkAnchorType anchor;        /* Anchor side for text */
  1826.     GtkJustification justification;    /* Justification for text */
  1827.  
  1828.     double clip_width;        /* Width of optional clip rectangle */
  1829.     double clip_height;        /* Height of optional clip rectangle */
  1830.  
  1831.     double xofs, yofs;        /* Text offset distance from anchor position */
  1832.  
  1833.     gulong pixel;            /* Fill color */
  1834.     GdkBitmap *stipple;        /* Stipple for text */
  1835.     GdkGC *gc;            /* GC for drawing text */
  1836.  
  1837.     int cx, cy;            /* Top-left canvas coordinates for text */
  1838.     int clip_cx, clip_cy;        /* Top-left canvas coordinates for clip rectangle */
  1839.     int clip_cwidth, clip_cheight;    /* Size of clip rectangle in pixels */
  1840.     int max_width;            /* Maximum width of text lines */
  1841.     int height;            /* Rendered text height in pixels */
  1842.  
  1843.     guint clip : 1;            /* Use clip rectangle? */
  1844.  
  1845.     /* Antialiased specific stuff follows */
  1846.     GnomeCanvasTextSuckFont *suckfont; /* Sucked font */
  1847.     guint32 rgba;            /* RGBA color for text */
  1848.     double affine[6];               /* The item -> canvas affine */
  1849. };
  1850. </STRUCT>
  1851. <FUNCTION>
  1852. <NAME>gnome_canvas_text_get_type</NAME>
  1853. <RETURNS>GtkType  </RETURNS>
  1854. void
  1855. </FUNCTION>
  1856. <STRUCT>
  1857. <NAME>GnomeCanvasPoints</NAME>
  1858. typedef struct {
  1859.     int num_points;
  1860.     double *coords;
  1861.     int ref_count;
  1862. } GnomeCanvasPoints;
  1863. </STRUCT>
  1864. <FUNCTION>
  1865. <NAME>gnome_canvas_points_new</NAME>
  1866. <RETURNS>GnomeCanvasPoints  *</RETURNS>
  1867. int num_points
  1868. </FUNCTION>
  1869. <FUNCTION>
  1870. <NAME>gnome_canvas_points_ref</NAME>
  1871. <RETURNS>GnomeCanvasPoints  *</RETURNS>
  1872. GnomeCanvasPoints *points
  1873. </FUNCTION>
  1874. <MACRO>
  1875. <NAME>gnome_canvas_points_unref</NAME>
  1876. #define gnome_canvas_points_unref gnome_canvas_points_free
  1877. </MACRO>
  1878. <FUNCTION>
  1879. <NAME>gnome_canvas_points_free</NAME>
  1880. <RETURNS>void  </RETURNS>
  1881. GnomeCanvasPoints *points
  1882. </FUNCTION>
  1883. <FUNCTION>
  1884. <NAME>gnome_canvas_get_miter_points</NAME>
  1885. <RETURNS>int  </RETURNS>
  1886. double x1, double y1, double x2, double y2, double x3, double y3,double width,double *mx1, double *my1, double *mx2, double *my2
  1887. </FUNCTION>
  1888. <FUNCTION>
  1889. <NAME>gnome_canvas_get_butt_points</NAME>
  1890. <RETURNS>void  </RETURNS>
  1891. double x1, double y1, double x2, double y2,double width, int project,double *bx1, double *by1, double *bx2, double *by2
  1892. </FUNCTION>
  1893. <FUNCTION>
  1894. <NAME>gnome_canvas_polygon_to_point</NAME>
  1895. <RETURNS>double  </RETURNS>
  1896. double *poly, int num_points, double x, double y
  1897. </FUNCTION>
  1898. <FUNCTION>
  1899. <NAME>gnome_canvas_render_svp</NAME>
  1900. <RETURNS>void  </RETURNS>
  1901. GnomeCanvasBuf *buf, ArtSVP *svp, guint32 rgba
  1902. </FUNCTION>
  1903. <FUNCTION>
  1904. <NAME>gnome_canvas_update_svp</NAME>
  1905. <RETURNS>void  </RETURNS>
  1906. GnomeCanvas *canvas, ArtSVP **p_svp, ArtSVP *new_svp
  1907. </FUNCTION>
  1908. <FUNCTION>
  1909. <NAME>gnome_canvas_update_svp_clip</NAME>
  1910. <RETURNS>void  </RETURNS>
  1911. GnomeCanvas *canvas, ArtSVP **p_svp, ArtSVP *new_svp,ArtSVP *clip_svp
  1912. </FUNCTION>
  1913. <FUNCTION>
  1914. <NAME>gnome_canvas_item_reset_bounds</NAME>
  1915. <RETURNS>void  </RETURNS>
  1916. GnomeCanvasItem *item
  1917. </FUNCTION>
  1918. <FUNCTION>
  1919. <NAME>gnome_canvas_item_update_svp</NAME>
  1920. <RETURNS>void  </RETURNS>
  1921. GnomeCanvasItem *item, ArtSVP **p_svp, ArtSVP *new_svp
  1922. </FUNCTION>
  1923. <FUNCTION>
  1924. <NAME>gnome_canvas_item_update_svp_clip</NAME>
  1925. <RETURNS>void  </RETURNS>
  1926. GnomeCanvasItem *item, ArtSVP **p_svp, ArtSVP *new_svp,ArtSVP *clip_svp
  1927. </FUNCTION>
  1928. <FUNCTION>
  1929. <NAME>gnome_canvas_item_request_redraw_svp</NAME>
  1930. <RETURNS>void  </RETURNS>
  1931. GnomeCanvasItem *item, const ArtSVP *svp
  1932. </FUNCTION>
  1933. <FUNCTION>
  1934. <NAME>gnome_canvas_update_bbox</NAME>
  1935. <RETURNS>void  </RETURNS>
  1936. GnomeCanvasItem *item, int x1, int y1, int x2, int y2
  1937. </FUNCTION>
  1938. <FUNCTION>
  1939. <NAME>gnome_canvas_buf_ensure_buf</NAME>
  1940. <RETURNS>void  </RETURNS>
  1941. GnomeCanvasBuf *buf
  1942. </FUNCTION>
  1943. <FUNCTION>
  1944. <NAME>gnome_canvas_join_gdk_to_art</NAME>
  1945. <RETURNS>ArtPathStrokeJoinType  </RETURNS>
  1946. GdkJoinStyle gdk_join
  1947. </FUNCTION>
  1948. <FUNCTION>
  1949. <NAME>gnome_canvas_cap_gdk_to_art</NAME>
  1950. <RETURNS>ArtPathStrokeCapType  </RETURNS>
  1951. GdkCapStyle gdk_cap
  1952. </FUNCTION>
  1953. <MACRO>
  1954. <NAME>GNOME_TYPE_CANVAS_WIDGET</NAME>
  1955. #define GNOME_TYPE_CANVAS_WIDGET            (gnome_canvas_widget_get_type ())
  1956. </MACRO>
  1957. <MACRO>
  1958. <NAME>GNOME_CANVAS_WIDGET</NAME>
  1959. #define GNOME_CANVAS_WIDGET(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_WIDGET, GnomeCanvasWidget))
  1960. </MACRO>
  1961. <MACRO>
  1962. <NAME>GNOME_CANVAS_WIDGET_CLASS</NAME>
  1963. #define GNOME_CANVAS_WIDGET_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_WIDGET, GnomeCanvasWidgetClass))
  1964. </MACRO>
  1965. <MACRO>
  1966. <NAME>GNOME_IS_CANVAS_WIDGET</NAME>
  1967. #define GNOME_IS_CANVAS_WIDGET(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_WIDGET))
  1968. </MACRO>
  1969. <MACRO>
  1970. <NAME>GNOME_IS_CANVAS_WIDGET_CLASS</NAME>
  1971. #define GNOME_IS_CANVAS_WIDGET_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_WIDGET))
  1972. </MACRO>
  1973. <STRUCT>
  1974. <NAME>GnomeCanvasWidget</NAME>
  1975. </STRUCT>
  1976. <STRUCT>
  1977. <NAME>GnomeCanvasWidgetClass</NAME>
  1978. </STRUCT>
  1979. <STRUCT>
  1980. <NAME>GnomeCanvasWidget</NAME>
  1981. struct GnomeCanvasWidget {
  1982.     GnomeCanvasItem item;
  1983.  
  1984.     GtkWidget *widget;        /* The child widget */
  1985.  
  1986.     double x, y;            /* Position at anchor */
  1987.     double width, height;        /* Dimensions of widget */
  1988.     GtkAnchorType anchor;        /* Anchor side for widget */
  1989.  
  1990.     int cx, cy;            /* Top-left canvas coordinates for widget */
  1991.     int cwidth, cheight;        /* Size of widget in pixels */
  1992.  
  1993.     guint destroy_id;        /* Signal connection id for destruction of child widget */
  1994.  
  1995.     guint size_pixels : 1;        /* Is size specified in (unchanging) pixels or units (get scaled)? */
  1996.     guint in_destroy : 1;        /* Is child widget being destroyed? */
  1997. };
  1998. </STRUCT>
  1999. <FUNCTION>
  2000. <NAME>gnome_canvas_widget_get_type</NAME>
  2001. <RETURNS>GtkType  </RETURNS>
  2002. void
  2003. </FUNCTION>
  2004. <MACRO>
  2005. <NAME>GNOME_CANVAS_EPSILON</NAME>
  2006. #define GNOME_CANVAS_EPSILON 1e-10
  2007. </MACRO>
  2008. <MACRO>
  2009. <NAME>GNOME_CANVAS_COLOR</NAME>
  2010. #define GNOME_CANVAS_COLOR(r, g, b) ((((int) (r) & 0xff) << 24)    \
  2011.                      | (((int) (g) & 0xff) << 16)    \
  2012.                      | (((int) (b) & 0xff) << 8)    \
  2013.                      | 0xff)
  2014. </MACRO>
  2015. <MACRO>
  2016. <NAME>GNOME_CANVAS_COLOR_A</NAME>
  2017. #define GNOME_CANVAS_COLOR_A(r, g, b, a) ((((int) (r) & 0xff) << 24)    \
  2018.                       | (((int) (g) & 0xff) << 16)    \
  2019.                       | (((int) (b) & 0xff) << 8)    \
  2020.                       | ((int) (a) & 0xff))
  2021. </MACRO>
  2022. <STRUCT>
  2023. <NAME>GnomeCanvas</NAME>
  2024. </STRUCT>
  2025. <STRUCT>
  2026. <NAME>GnomeCanvasClass</NAME>
  2027. </STRUCT>
  2028. <STRUCT>
  2029. <NAME>GnomeCanvasItem</NAME>
  2030. </STRUCT>
  2031. <STRUCT>
  2032. <NAME>GnomeCanvasItemClass</NAME>
  2033. </STRUCT>
  2034. <STRUCT>
  2035. <NAME>GnomeCanvasGroup</NAME>
  2036. </STRUCT>
  2037. <STRUCT>
  2038. <NAME>GnomeCanvasGroupClass</NAME>
  2039. </STRUCT>
  2040. <STRUCT>
  2041. <NAME>GnomeCanvasBuf</NAME>
  2042. typedef struct {
  2043.     /* 24-bit RGB buffer for rendering */
  2044.     guchar *buf;
  2045.  
  2046.     /* Rowstride for the buffer */
  2047.     int buf_rowstride;
  2048.  
  2049.     /* Rectangle describing the rendering area */
  2050.     ArtIRect rect;
  2051.  
  2052.     /* Background color, given as 0xrrggbb */
  2053.     guint32 bg_color;
  2054.  
  2055.     /* Invariant: at least one of the following flags is true. */
  2056.  
  2057.     /* Set when the render rectangle area is the solid color bg_color */
  2058.     unsigned int is_bg : 1;
  2059.  
  2060.     /* Set when the render rectangle area is represented by the buf */
  2061.     unsigned int is_buf : 1;
  2062. } GnomeCanvasBuf;
  2063. </STRUCT>
  2064. <MACRO>
  2065. <NAME>GNOME_TYPE_CANVAS_ITEM</NAME>
  2066. #define GNOME_TYPE_CANVAS_ITEM            (gnome_canvas_item_get_type ())
  2067. </MACRO>
  2068. <MACRO>
  2069. <NAME>GNOME_CANVAS_ITEM</NAME>
  2070. #define GNOME_CANVAS_ITEM(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_ITEM, GnomeCanvasItem))
  2071. </MACRO>
  2072. <MACRO>
  2073. <NAME>GNOME_CANVAS_ITEM_CLASS</NAME>
  2074. #define GNOME_CANVAS_ITEM_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_ITEM, GnomeCanvasItemClass))
  2075. </MACRO>
  2076. <MACRO>
  2077. <NAME>GNOME_IS_CANVAS_ITEM</NAME>
  2078. #define GNOME_IS_CANVAS_ITEM(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_ITEM))
  2079. </MACRO>
  2080. <MACRO>
  2081. <NAME>GNOME_IS_CANVAS_ITEM_CLASS</NAME>
  2082. #define GNOME_IS_CANVAS_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_ITEM))
  2083. </MACRO>
  2084. <STRUCT>
  2085. <NAME>GnomeCanvasItem</NAME>
  2086. struct GnomeCanvasItem {
  2087.     GtkObject object;
  2088.  
  2089.     /* Parent canvas for this item */
  2090.     GnomeCanvas *canvas;
  2091.  
  2092.     /* Parent canvas group for this item (a GnomeCanvasGroup) */
  2093.     GnomeCanvasItem *parent;
  2094.  
  2095.     /* Bounding box for this item (in world coordinates) */
  2096.     double x1, y1, x2, y2;
  2097.  
  2098.     /* If NULL, assumed to be the identity tranform.  If flags does not have
  2099.      * AFFINE_FULL, then a two-element array containing a translation.  If
  2100.      * flags contains AFFINE_FULL, a six-element array containing an affine
  2101.      * transformation.
  2102.      */
  2103.     double *xform;
  2104. };
  2105. </STRUCT>
  2106. <FUNCTION>
  2107. <NAME>gnome_canvas_item_get_type</NAME>
  2108. <RETURNS>GtkType  </RETURNS>
  2109. void
  2110. </FUNCTION>
  2111. <FUNCTION>
  2112. <NAME>gnome_canvas_item_new</NAME>
  2113. <RETURNS>GnomeCanvasItem  *</RETURNS>
  2114. GnomeCanvasGroup *parent, GtkType type,const gchar *first_arg_name, ...
  2115. </FUNCTION>
  2116. <FUNCTION>
  2117. <NAME>gnome_canvas_item_newv</NAME>
  2118. <RETURNS>GnomeCanvasItem  *</RETURNS>
  2119. GnomeCanvasGroup *parent, GtkType type,guint nargs, GtkArg *args
  2120. </FUNCTION>
  2121. <FUNCTION>
  2122. <NAME>gnome_canvas_item_construct</NAME>
  2123. <RETURNS>void  </RETURNS>
  2124. GnomeCanvasItem *item, GnomeCanvasGroup *parent,const gchar *first_arg_name, va_list args
  2125. </FUNCTION>
  2126. <FUNCTION>
  2127. <NAME>gnome_canvas_item_constructv</NAME>
  2128. <RETURNS>void  </RETURNS>
  2129. GnomeCanvasItem *item, GnomeCanvasGroup *parent,guint nargs, GtkArg *args
  2130. </FUNCTION>
  2131. <FUNCTION>
  2132. <NAME>gnome_canvas_item_set</NAME>
  2133. <RETURNS>void  </RETURNS>
  2134. GnomeCanvasItem *item, const gchar *first_arg_name, ...
  2135. </FUNCTION>
  2136. <FUNCTION>
  2137. <NAME>gnome_canvas_item_setv</NAME>
  2138. <RETURNS>void  </RETURNS>
  2139. GnomeCanvasItem *item, guint nargs, GtkArg *args
  2140. </FUNCTION>
  2141. <FUNCTION>
  2142. <NAME>gnome_canvas_item_set_valist</NAME>
  2143. <RETURNS>void  </RETURNS>
  2144. GnomeCanvasItem *item,const gchar *first_arg_name, va_list args
  2145. </FUNCTION>
  2146. <FUNCTION>
  2147. <NAME>gnome_canvas_item_move</NAME>
  2148. <RETURNS>void  </RETURNS>
  2149. GnomeCanvasItem *item, double dx, double dy
  2150. </FUNCTION>
  2151. <FUNCTION>
  2152. <NAME>gnome_canvas_item_affine_relative</NAME>
  2153. <RETURNS>void  </RETURNS>
  2154. GnomeCanvasItem *item, const double affine[6]
  2155. </FUNCTION>
  2156. <FUNCTION>
  2157. <NAME>gnome_canvas_item_affine_absolute</NAME>
  2158. <RETURNS>void  </RETURNS>
  2159. GnomeCanvasItem *item, const double affine[6]
  2160. </FUNCTION>
  2161. <FUNCTION>
  2162. <NAME>gnome_canvas_item_scale</NAME>
  2163. <RETURNS>void  </RETURNS>
  2164. GnomeCanvasItem *item,double x, double y,double scale_x, double scale_y
  2165. </FUNCTION>
  2166. <FUNCTION>
  2167. <NAME>gnome_canvas_item_rotate</NAME>
  2168. <RETURNS>void  </RETURNS>
  2169. GnomeCanvasItem *item, double x, double y, double angle
  2170. </FUNCTION>
  2171. <FUNCTION>
  2172. <NAME>gnome_canvas_item_raise</NAME>
  2173. <RETURNS>void  </RETURNS>
  2174. GnomeCanvasItem *item, int positions
  2175. </FUNCTION>
  2176. <FUNCTION>
  2177. <NAME>gnome_canvas_item_lower</NAME>
  2178. <RETURNS>void  </RETURNS>
  2179. GnomeCanvasItem *item, int positions
  2180. </FUNCTION>
  2181. <FUNCTION>
  2182. <NAME>gnome_canvas_item_raise_to_top</NAME>
  2183. <RETURNS>void  </RETURNS>
  2184. GnomeCanvasItem *item
  2185. </FUNCTION>
  2186. <FUNCTION>
  2187. <NAME>gnome_canvas_item_lower_to_bottom</NAME>
  2188. <RETURNS>void  </RETURNS>
  2189. GnomeCanvasItem *item
  2190. </FUNCTION>
  2191. <FUNCTION>
  2192. <NAME>gnome_canvas_item_show</NAME>
  2193. <RETURNS>void  </RETURNS>
  2194. GnomeCanvasItem *item
  2195. </FUNCTION>
  2196. <FUNCTION>
  2197. <NAME>gnome_canvas_item_hide</NAME>
  2198. <RETURNS>void  </RETURNS>
  2199. GnomeCanvasItem *item
  2200. </FUNCTION>
  2201. <FUNCTION>
  2202. <NAME>gnome_canvas_item_grab</NAME>
  2203. <RETURNS>int  </RETURNS>
  2204. GnomeCanvasItem *item, unsigned int event_mask,GdkCursor *cursor, guint32 etime
  2205. </FUNCTION>
  2206. <FUNCTION>
  2207. <NAME>gnome_canvas_item_ungrab</NAME>
  2208. <RETURNS>void  </RETURNS>
  2209. GnomeCanvasItem *item, guint32 etime
  2210. </FUNCTION>
  2211. <FUNCTION>
  2212. <NAME>gnome_canvas_item_w2i</NAME>
  2213. <RETURNS>void  </RETURNS>
  2214. GnomeCanvasItem *item, double *x, double *y
  2215. </FUNCTION>
  2216. <FUNCTION>
  2217. <NAME>gnome_canvas_item_i2w</NAME>
  2218. <RETURNS>void  </RETURNS>
  2219. GnomeCanvasItem *item, double *x, double *y
  2220. </FUNCTION>
  2221. <FUNCTION>
  2222. <NAME>gnome_canvas_item_i2w_affine</NAME>
  2223. <RETURNS>void  </RETURNS>
  2224. GnomeCanvasItem *item, double affine[6]
  2225. </FUNCTION>
  2226. <FUNCTION>
  2227. <NAME>gnome_canvas_item_i2c_affine</NAME>
  2228. <RETURNS>void  </RETURNS>
  2229. GnomeCanvasItem *item, double affine[6]
  2230. </FUNCTION>
  2231. <FUNCTION>
  2232. <NAME>gnome_canvas_item_reparent</NAME>
  2233. <RETURNS>void  </RETURNS>
  2234. GnomeCanvasItem *item, GnomeCanvasGroup *new_group
  2235. </FUNCTION>
  2236. <FUNCTION>
  2237. <NAME>gnome_canvas_item_grab_focus</NAME>
  2238. <RETURNS>void  </RETURNS>
  2239. GnomeCanvasItem *item
  2240. </FUNCTION>
  2241. <FUNCTION>
  2242. <NAME>gnome_canvas_item_get_bounds</NAME>
  2243. <RETURNS>void  </RETURNS>
  2244. GnomeCanvasItem *item,double *x1, double *y1, double *x2, double *y2
  2245. </FUNCTION>
  2246. <FUNCTION>
  2247. <NAME>gnome_canvas_item_request_update</NAME>
  2248. <RETURNS>void  </RETURNS>
  2249. GnomeCanvasItem *item
  2250. </FUNCTION>
  2251. <MACRO>
  2252. <NAME>GNOME_TYPE_CANVAS_GROUP</NAME>
  2253. #define GNOME_TYPE_CANVAS_GROUP            (gnome_canvas_group_get_type ())
  2254. </MACRO>
  2255. <MACRO>
  2256. <NAME>GNOME_CANVAS_GROUP</NAME>
  2257. #define GNOME_CANVAS_GROUP(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_GROUP, GnomeCanvasGroup))
  2258. </MACRO>
  2259. <MACRO>
  2260. <NAME>GNOME_CANVAS_GROUP_CLASS</NAME>
  2261. #define GNOME_CANVAS_GROUP_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_GROUP, GnomeCanvasGroupClass))
  2262. </MACRO>
  2263. <MACRO>
  2264. <NAME>GNOME_IS_CANVAS_GROUP</NAME>
  2265. #define GNOME_IS_CANVAS_GROUP(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_GROUP))
  2266. </MACRO>
  2267. <MACRO>
  2268. <NAME>GNOME_IS_CANVAS_GROUP_CLASS</NAME>
  2269. #define GNOME_IS_CANVAS_GROUP_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_GROUP))
  2270. </MACRO>
  2271. <STRUCT>
  2272. <NAME>GnomeCanvasGroup</NAME>
  2273. struct GnomeCanvasGroup {
  2274.     GnomeCanvasItem item;
  2275.  
  2276.     /* Children of the group */
  2277.     GList *item_list;
  2278.     GList *item_list_end;
  2279.  
  2280.     /* The position of the group has been subsumed into the xform of all items */
  2281. #ifdef OLD_XFORM
  2282.     double xpos, ypos;    /* Point that defines the group's origin */
  2283. #endif
  2284. };
  2285. </STRUCT>
  2286. <FUNCTION>
  2287. <NAME>gnome_canvas_group_get_type</NAME>
  2288. <RETURNS>GtkType  </RETURNS>
  2289. void
  2290. </FUNCTION>
  2291. <FUNCTION>
  2292. <NAME>gnome_canvas_group_child_bounds</NAME>
  2293. <RETURNS>void  </RETURNS>
  2294. GnomeCanvasGroup *group, GnomeCanvasItem *item
  2295. </FUNCTION>
  2296. <MACRO>
  2297. <NAME>GNOME_TYPE_CANVAS</NAME>
  2298. #define GNOME_TYPE_CANVAS            (gnome_canvas_get_type ())
  2299. </MACRO>
  2300. <MACRO>
  2301. <NAME>GNOME_CANVAS</NAME>
  2302. #define GNOME_CANVAS(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS, GnomeCanvas))
  2303. </MACRO>
  2304. <MACRO>
  2305. <NAME>GNOME_CANVAS_CLASS</NAME>
  2306. #define GNOME_CANVAS_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS, GnomeCanvasClass))
  2307. </MACRO>
  2308. <MACRO>
  2309. <NAME>GNOME_IS_CANVAS</NAME>
  2310. #define GNOME_IS_CANVAS(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS))
  2311. </MACRO>
  2312. <MACRO>
  2313. <NAME>GNOME_IS_CANVAS_CLASS</NAME>
  2314. #define GNOME_IS_CANVAS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS))
  2315. </MACRO>
  2316. <STRUCT>
  2317. <NAME>GnomeCanvas</NAME>
  2318. struct GnomeCanvas {
  2319.     GtkLayout layout;
  2320.  
  2321.     /* Idle handler ID */
  2322.     guint idle_id;
  2323.  
  2324.     /* Root canvas group */
  2325.     GnomeCanvasItem *root;
  2326.  
  2327.     /* Signal handler ID for destruction of the root item */
  2328.     guint root_destroy_id;
  2329.  
  2330.     /* Scrolling region */
  2331.     double scroll_x1, scroll_y1;
  2332.     double scroll_x2, scroll_y2;
  2333.  
  2334.     /* Scaling factor to be used for display */
  2335.     double pixels_per_unit;
  2336.  
  2337.     /* Area that is being redrawn.  Contains (x1, y1) but not (x2, y2).
  2338.      * Specified in canvas pixel coordinates.
  2339.      */
  2340.     int redraw_x1, redraw_y1;
  2341.     int redraw_x2, redraw_y2;
  2342.  
  2343.     /* Area that needs redrawing, stored as a microtile array */
  2344.     ArtUta *redraw_area;
  2345.  
  2346.     /* Offsets of the temprary drawing pixmap */
  2347.     int draw_xofs, draw_yofs;
  2348.  
  2349.     /* Internal pixel offsets when zoomed out */
  2350.     int zoom_xofs, zoom_yofs;
  2351.  
  2352.     /* Last known modifier state, for deferred repick when a button is down */
  2353.     int state;
  2354.  
  2355.     /* The item containing the mouse pointer, or NULL if none */
  2356.     GnomeCanvasItem *current_item;
  2357.  
  2358.     /* Item that is about to become current (used to track deletions and such) */
  2359.     GnomeCanvasItem *new_current_item;
  2360.  
  2361.     /* Item that holds a pointer grab, or NULL if none */
  2362.     GnomeCanvasItem *grabbed_item;
  2363.  
  2364.     /* Event mask specified when grabbing an item */
  2365.     guint grabbed_event_mask;
  2366.  
  2367.     /* If non-NULL, the currently focused item */
  2368.     GnomeCanvasItem *focused_item;
  2369.  
  2370.     /* Event on which selection of current item is based */
  2371.     GdkEvent pick_event;
  2372.  
  2373.     /* Tolerance distance for picking items */
  2374.     int close_enough;
  2375.  
  2376.     /* Color context used for color allocation */
  2377.     GdkColorContext *cc;
  2378.  
  2379.     /* GC for temporary draw pixmap */
  2380.     GdkGC *pixmap_gc;
  2381.  
  2382.     /* Whether items need update at next idle loop iteration */
  2383.     unsigned int need_update : 1;
  2384.  
  2385.     /* Whether the canvas needs redrawing at the next idle loop iteration */
  2386.     unsigned int need_redraw : 1;
  2387.  
  2388.     /* Whether current item will be repicked at next idle loop iteration */
  2389.     unsigned int need_repick : 1;
  2390.  
  2391.     /* For use by internal pick_current_item() function */
  2392.     unsigned int left_grabbed_item : 1;
  2393.  
  2394.     /* For use by internal pick_current_item() function */
  2395.     unsigned int in_repick : 1;
  2396.  
  2397.     /* Whether the canvas is in antialiased mode or not */
  2398.     unsigned int aa : 1;
  2399.  
  2400.     /* dither mode for aa drawing */
  2401.     unsigned int dither : 2;
  2402. };
  2403. </STRUCT>
  2404. <FUNCTION>
  2405. <NAME>gnome_canvas_get_type</NAME>
  2406. <RETURNS>GtkType  </RETURNS>
  2407. void
  2408. </FUNCTION>
  2409. <FUNCTION>
  2410. <NAME>gnome_canvas_new</NAME>
  2411. <RETURNS>GtkWidget  *</RETURNS>
  2412. void
  2413. </FUNCTION>
  2414. <FUNCTION>
  2415. <NAME>gnome_canvas_new_aa</NAME>
  2416. <RETURNS>GtkWidget  *</RETURNS>
  2417. void
  2418. </FUNCTION>
  2419. <FUNCTION>
  2420. <NAME>gnome_canvas_root</NAME>
  2421. <RETURNS>GnomeCanvasGroup  *</RETURNS>
  2422. GnomeCanvas *canvas
  2423. </FUNCTION>
  2424. <FUNCTION>
  2425. <NAME>gnome_canvas_set_scroll_region</NAME>
  2426. <RETURNS>void  </RETURNS>
  2427. GnomeCanvas *canvas,double x1, double y1, double x2, double y2
  2428. </FUNCTION>
  2429. <FUNCTION>
  2430. <NAME>gnome_canvas_get_scroll_region</NAME>
  2431. <RETURNS>void  </RETURNS>
  2432. GnomeCanvas *canvas,double *x1, double *y1, double *x2, double *y2
  2433. </FUNCTION>
  2434. <FUNCTION>
  2435. <NAME>gnome_canvas_set_pixels_per_unit</NAME>
  2436. <RETURNS>void  </RETURNS>
  2437. GnomeCanvas *canvas, double n
  2438. </FUNCTION>
  2439. <FUNCTION>
  2440. <NAME>gnome_canvas_scroll_to</NAME>
  2441. <RETURNS>void  </RETURNS>
  2442. GnomeCanvas *canvas, int cx, int cy
  2443. </FUNCTION>
  2444. <FUNCTION>
  2445. <NAME>gnome_canvas_get_scroll_offsets</NAME>
  2446. <RETURNS>void  </RETURNS>
  2447. GnomeCanvas *canvas, int *cx, int *cy
  2448. </FUNCTION>
  2449. <FUNCTION>
  2450. <NAME>gnome_canvas_update_now</NAME>
  2451. <RETURNS>void  </RETURNS>
  2452. GnomeCanvas *canvas
  2453. </FUNCTION>
  2454. <FUNCTION>
  2455. <NAME>gnome_canvas_get_item_at</NAME>
  2456. <RETURNS>GnomeCanvasItem  *</RETURNS>
  2457. GnomeCanvas *canvas, double x, double y
  2458. </FUNCTION>
  2459. <FUNCTION>
  2460. <NAME>gnome_canvas_request_redraw_uta</NAME>
  2461. <RETURNS>void  </RETURNS>
  2462. GnomeCanvas *canvas, ArtUta *uta
  2463. </FUNCTION>
  2464. <FUNCTION>
  2465. <NAME>gnome_canvas_request_redraw</NAME>
  2466. <RETURNS>void  </RETURNS>
  2467. GnomeCanvas *canvas, int x1, int y1, int x2, int y2
  2468. </FUNCTION>
  2469. <FUNCTION>
  2470. <NAME>gnome_canvas_w2c_affine</NAME>
  2471. <RETURNS>void  </RETURNS>
  2472. GnomeCanvas *canvas, double affine[6]
  2473. </FUNCTION>
  2474. <FUNCTION>
  2475. <NAME>gnome_canvas_w2c</NAME>
  2476. <RETURNS>void  </RETURNS>
  2477. GnomeCanvas *canvas, double wx, double wy, int *cx, int *cy
  2478. </FUNCTION>
  2479. <FUNCTION>
  2480. <NAME>gnome_canvas_w2c_d</NAME>
  2481. <RETURNS>void  </RETURNS>
  2482. GnomeCanvas *canvas, double wx, double wy, double *cx, double *cy
  2483. </FUNCTION>
  2484. <FUNCTION>
  2485. <NAME>gnome_canvas_c2w</NAME>
  2486. <RETURNS>void  </RETURNS>
  2487. GnomeCanvas *canvas, int cx, int cy, double *wx, double *wy
  2488. </FUNCTION>
  2489. <FUNCTION>
  2490. <NAME>gnome_canvas_window_to_world</NAME>
  2491. <RETURNS>void  </RETURNS>
  2492. GnomeCanvas *canvas,double winx, double winy, double *worldx, double *worldy
  2493. </FUNCTION>
  2494. <FUNCTION>
  2495. <NAME>gnome_canvas_world_to_window</NAME>
  2496. <RETURNS>void  </RETURNS>
  2497. GnomeCanvas *canvas,double worldx, double worldy, double *winx, double *winy
  2498. </FUNCTION>
  2499. <FUNCTION>
  2500. <NAME>gnome_canvas_get_color</NAME>
  2501. <RETURNS>int  </RETURNS>
  2502. GnomeCanvas *canvas, char *spec, GdkColor *color
  2503. </FUNCTION>
  2504. <FUNCTION>
  2505. <NAME>gnome_canvas_get_color_pixel</NAME>
  2506. <RETURNS>gulong  </RETURNS>
  2507. GnomeCanvas *canvas,guint        rgba
  2508. </FUNCTION>
  2509. <FUNCTION>
  2510. <NAME>gnome_canvas_set_stipple_origin</NAME>
  2511. <RETURNS>void  </RETURNS>
  2512. GnomeCanvas *canvas, GdkGC *gc
  2513. </FUNCTION>
  2514. <FUNCTION>
  2515. <NAME>gnome_canvas_set_dither</NAME>
  2516. <RETURNS>void  </RETURNS>
  2517. GnomeCanvas *canvas, GdkRgbDither dither
  2518. </FUNCTION>
  2519. <FUNCTION>
  2520. <NAME>gnome_canvas_get_dither</NAME>
  2521. <RETURNS>GdkRgbDither  </RETURNS>
  2522. GnomeCanvas *canvas
  2523. </FUNCTION>
  2524. <MACRO>
  2525. <NAME>GNOME_CLIENT</NAME>
  2526. #define GNOME_CLIENT(obj)           GTK_CHECK_CAST (obj, gnome_client_get_type (), GnomeClient)
  2527. </MACRO>
  2528. <MACRO>
  2529. <NAME>GNOME_CLIENT_CLASS</NAME>
  2530. #define GNOME_CLIENT_CLASS(klass)   GTK_CHECK_CLASS_CAST (klass, gnome_client_get_type (), GnomeClientClass)
  2531. </MACRO>
  2532. <MACRO>
  2533. <NAME>GNOME_IS_CLIENT</NAME>
  2534. #define GNOME_IS_CLIENT(obj)        GTK_CHECK_TYPE (obj, gnome_client_get_type ())
  2535. </MACRO>
  2536. <MACRO>
  2537. <NAME>GNOME_CLIENT_CONNECTED</NAME>
  2538. #define GNOME_CLIENT_CONNECTED(obj) (GNOME_CLIENT (obj)->smc_conn)
  2539. </MACRO>
  2540. <STRUCT>
  2541. <NAME>GnomeClient</NAME>
  2542. </STRUCT>
  2543. <STRUCT>
  2544. <NAME>GnomeClientClass</NAME>
  2545. </STRUCT>
  2546. <ENUM>
  2547. <NAME>GnomeInteractStyle</NAME>
  2548. typedef enum
  2549. {
  2550.   GNOME_INTERACT_NONE,
  2551.   GNOME_INTERACT_ERRORS,
  2552.   GNOME_INTERACT_ANY
  2553. } GnomeInteractStyle;
  2554. </ENUM>
  2555. <ENUM>
  2556. <NAME>GnomeDialogType</NAME>
  2557. typedef enum
  2558. {
  2559.   GNOME_DIALOG_ERROR,
  2560.   GNOME_DIALOG_NORMAL
  2561. } GnomeDialogType;
  2562. </ENUM>
  2563. <ENUM>
  2564. <NAME>GnomeSaveStyle</NAME>
  2565. typedef enum
  2566. {
  2567.   GNOME_SAVE_GLOBAL,
  2568.   GNOME_SAVE_LOCAL,
  2569.   GNOME_SAVE_BOTH
  2570. } GnomeSaveStyle;
  2571. </ENUM>
  2572. <ENUM>
  2573. <NAME>GnomeRestartStyle</NAME>
  2574. typedef enum
  2575. {
  2576.   GNOME_RESTART_IF_RUNNING,
  2577.   GNOME_RESTART_ANYWAY,
  2578.   GNOME_RESTART_IMMEDIATELY,
  2579.   GNOME_RESTART_NEVER
  2580. } GnomeRestartStyle;
  2581. </ENUM>
  2582. <ENUM>
  2583. <NAME>GnomeClientState</NAME>
  2584. typedef enum
  2585. {
  2586.   GNOME_CLIENT_IDLE,
  2587.   GNOME_CLIENT_SAVING_PHASE_1,
  2588.   GNOME_CLIENT_WAITING_FOR_PHASE_2,
  2589.   GNOME_CLIENT_SAVING_PHASE_2,
  2590.   GNOME_CLIENT_FROZEN,
  2591.   GNOME_CLIENT_DISCONNECTED,
  2592.   GNOME_CLIENT_REGISTERING
  2593. } GnomeClientState;
  2594. </ENUM>
  2595. <ENUM>
  2596. <NAME>GnomeClientFlags</NAME>
  2597. typedef enum
  2598. {
  2599.   GNOME_CLIENT_IS_CONNECTED= 1 << 0,
  2600.   GNOME_CLIENT_RESTARTED   = 1 << 1,
  2601.   GNOME_CLIENT_RESTORED    = 1 << 2
  2602. } GnomeClientFlags;
  2603. </ENUM>
  2604. <USER_FUNCTION>
  2605. <NAME>GnomeInteractFunction</NAME>
  2606. <RETURNS>void </RETURNS>
  2607. GnomeClient     *client,
  2608.                        gint             key,
  2609.                        GnomeDialogType  dialog_type,
  2610.                        gpointer         data
  2611. </USER_FUNCTION>
  2612. <STRUCT>
  2613. <NAME>GnomeClient</NAME>
  2614. struct GnomeClient
  2615. {
  2616.   GtkObject           object;
  2617.  
  2618.   /* general information about the connection to the session manager */
  2619.   gpointer            smc_conn;
  2620.   gint                input_id;
  2621.  
  2622.   /* client id of this client */
  2623.   gchar              *client_id;
  2624.  
  2625.   /* Previous client id of this client.  */
  2626.   gchar             *previous_id;
  2627.  
  2628.   /* Prefix for per save configuration files.  */
  2629.   gchar              *config_prefix;
  2630.  
  2631.   /* Prefix for app configuration files.  */
  2632.   gchar              *global_config_prefix;
  2633.  
  2634.   /* Static command line options.  */
  2635.   GList              *static_args;
  2636.  
  2637.   /* The following properties are predefined in the X session
  2638.      management protocol.  The entries marked with a 'x' are required
  2639.      by the session management protocol.  The entries marked with a
  2640.      's' are set automatically when creating a new gnome client.  */
  2641.   gchar             **clone_command;        /*[xs]*/
  2642.   gchar              *current_directory;    /*[  ]*/
  2643.   gchar             **discard_command;      /*[  ]*/
  2644.   GHashTable         *environment;          /*[  ]*/
  2645.   pid_t               process_id;           /*[ s]*/
  2646.   gchar              *program;              /*[xs]*/
  2647.   gchar             **resign_command;       /*[  ]*/
  2648.   gchar             **restart_command;      /*[xs]*/
  2649.   GnomeRestartStyle   restart_style;        /*[  ]*/
  2650.   gchar             **shutdown_command;     /*[  ]*/
  2651.   gchar              *user_id;              /*[xs]*/
  2652.  
  2653.   /* values sent with the last SaveYourself message */
  2654.   GnomeSaveStyle      save_style;
  2655.   GnomeInteractStyle  interact_style;
  2656.   gboolean            shutdown;
  2657.   gboolean            fast;
  2658.  
  2659.   /* other internal state information */
  2660.   GnomeClientState    state;
  2661.   gboolean            save_phase_2_requested;
  2662.   gboolean            save_successfull;
  2663.   gboolean            save_yourself_emitted;
  2664.  
  2665.   GSList             *interaction_keys;
  2666. };
  2667. </STRUCT>
  2668. <FUNCTION>
  2669. <NAME>gnome_client_get_type</NAME>
  2670. <RETURNS>guint  </RETURNS>
  2671. void
  2672. </FUNCTION>
  2673. <FUNCTION>
  2674. <NAME>gnome_client_init</NAME>
  2675. <RETURNS>void  </RETURNS>
  2676. void
  2677. </FUNCTION>
  2678. <FUNCTION>
  2679. <NAME>gnome_master_client</NAME>
  2680. <RETURNS>GnomeClient  *</RETURNS>
  2681. void
  2682. </FUNCTION>
  2683. <FUNCTION>
  2684. <NAME>gnome_client_get_config_prefix</NAME>
  2685. <RETURNS>gchar *</RETURNS>
  2686. GnomeClient *client
  2687. </FUNCTION>
  2688. <FUNCTION>
  2689. <NAME>gnome_client_get_global_config_prefix</NAME>
  2690. <RETURNS>gchar *</RETURNS>
  2691. GnomeClient *client
  2692. </FUNCTION>
  2693. <FUNCTION>
  2694. <NAME>gnome_client_set_global_config_prefix</NAME>
  2695. <RETURNS>void  </RETURNS>
  2696. GnomeClient *client,gchar* prefix
  2697. </FUNCTION>
  2698. <FUNCTION>
  2699. <NAME>gnome_client_get_flags</NAME>
  2700. <RETURNS>GnomeClientFlags  </RETURNS>
  2701. GnomeClient *client
  2702. </FUNCTION>
  2703. <FUNCTION>
  2704. <NAME>gnome_client_set_restart_style</NAME>
  2705. <RETURNS>void  </RETURNS>
  2706. GnomeClient *client,GnomeRestartStyle style
  2707. </FUNCTION>
  2708. <FUNCTION>
  2709. <NAME>gnome_client_set_priority</NAME>
  2710. <RETURNS>void  </RETURNS>
  2711. GnomeClient *client,guint priority
  2712. </FUNCTION>
  2713. <FUNCTION>
  2714. <NAME>gnome_client_set_restart_command</NAME>
  2715. <RETURNS>void  </RETURNS>
  2716. GnomeClient *client,gint argc, gchar *argv[]
  2717. </FUNCTION>
  2718. <FUNCTION>
  2719. <NAME>gnome_client_add_static_arg</NAME>
  2720. <RETURNS>void  </RETURNS>
  2721. GnomeClient *client, ...
  2722. </FUNCTION>
  2723. <FUNCTION>
  2724. <NAME>gnome_client_set_discard_command</NAME>
  2725. <RETURNS>void  </RETURNS>
  2726. GnomeClient *client,gint argc, gchar *argv[]
  2727. </FUNCTION>
  2728. <FUNCTION>
  2729. <NAME>gnome_client_set_resign_command</NAME>
  2730. <RETURNS>void  </RETURNS>
  2731. GnomeClient *client,gint argc, gchar *argv[]
  2732. </FUNCTION>
  2733. <FUNCTION>
  2734. <NAME>gnome_client_set_shutdown_command</NAME>
  2735. <RETURNS>void  </RETURNS>
  2736. GnomeClient *client,gint argc, gchar *argv[]
  2737. </FUNCTION>
  2738. <FUNCTION>
  2739. <NAME>gnome_client_set_current_directory</NAME>
  2740. <RETURNS>void  </RETURNS>
  2741. GnomeClient *client,const gchar *dir
  2742. </FUNCTION>
  2743. <FUNCTION>
  2744. <NAME>gnome_client_set_environment</NAME>
  2745. <RETURNS>void  </RETURNS>
  2746. GnomeClient *client,const gchar *name,const gchar *value
  2747. </FUNCTION>
  2748. <FUNCTION>
  2749. <NAME>gnome_client_set_clone_command</NAME>
  2750. <RETURNS>void  </RETURNS>
  2751. GnomeClient *client,gint argc, gchar *argv[]
  2752. </FUNCTION>
  2753. <FUNCTION>
  2754. <NAME>gnome_client_set_process_id</NAME>
  2755. <RETURNS>void  </RETURNS>
  2756. GnomeClient *client,pid_t pid
  2757. </FUNCTION>
  2758. <FUNCTION>
  2759. <NAME>gnome_client_set_program</NAME>
  2760. <RETURNS>void  </RETURNS>
  2761. GnomeClient *client,const gchar *program
  2762. </FUNCTION>
  2763. <FUNCTION>
  2764. <NAME>gnome_client_set_user_id</NAME>
  2765. <RETURNS>void  </RETURNS>
  2766. GnomeClient *client,const gchar *user_id
  2767. </FUNCTION>
  2768. <FUNCTION>
  2769. <NAME>gnome_client_save_any_dialog</NAME>
  2770. <RETURNS>void  </RETURNS>
  2771. GnomeClient *client,GnomeDialog *dialog
  2772. </FUNCTION>
  2773. <FUNCTION>
  2774. <NAME>gnome_client_save_error_dialog</NAME>
  2775. <RETURNS>void  </RETURNS>
  2776. GnomeClient *client,GnomeDialog *dialog
  2777. </FUNCTION>
  2778. <FUNCTION>
  2779. <NAME>gnome_client_request_phase_2</NAME>
  2780. <RETURNS>void  </RETURNS>
  2781. GnomeClient *client
  2782. </FUNCTION>
  2783. <FUNCTION>
  2784. <NAME>gnome_client_request_save</NAME>
  2785. <RETURNS>void     </RETURNS>
  2786. GnomeClient           *client,GnomeSaveStyle        save_style,gboolean        shutdown,GnomeInteractStyle    interact_style,gboolean        fast,gboolean        global
  2787. </FUNCTION>
  2788. <FUNCTION>
  2789. <NAME>gnome_client_flush</NAME>
  2790. <RETURNS>void  </RETURNS>
  2791. GnomeClient *client
  2792. </FUNCTION>
  2793. <FUNCTION>
  2794. <NAME>gnome_client_disable_master_connection</NAME>
  2795. <RETURNS>void  </RETURNS>
  2796. void
  2797. </FUNCTION>
  2798. <FUNCTION>
  2799. <NAME>gnome_client_new</NAME>
  2800. <RETURNS>GnomeClient  *</RETURNS>
  2801. void
  2802. </FUNCTION>
  2803. <FUNCTION>
  2804. <NAME>gnome_client_new_without_connection</NAME>
  2805. <RETURNS>GnomeClient  *</RETURNS>
  2806. void
  2807. </FUNCTION>
  2808. <FUNCTION>
  2809. <NAME>gnome_client_connect</NAME>
  2810. <RETURNS>void  </RETURNS>
  2811. GnomeClient *client
  2812. </FUNCTION>
  2813. <FUNCTION>
  2814. <NAME>gnome_client_disconnect</NAME>
  2815. <RETURNS>void  </RETURNS>
  2816. GnomeClient *client
  2817. </FUNCTION>
  2818. <FUNCTION>
  2819. <NAME>gnome_client_set_id</NAME>
  2820. <RETURNS>void  </RETURNS>
  2821. GnomeClient *client,const gchar *client_id
  2822. </FUNCTION>
  2823. <FUNCTION>
  2824. <NAME>gnome_client_get_id</NAME>
  2825. <RETURNS>gchar *</RETURNS>
  2826. GnomeClient *client
  2827. </FUNCTION>
  2828. <FUNCTION>
  2829. <NAME>gnome_client_get_previous_id</NAME>
  2830. <RETURNS>gchar *</RETURNS>
  2831. GnomeClient *client
  2832. </FUNCTION>
  2833. <FUNCTION>
  2834. <NAME>gnome_cloned_client</NAME>
  2835. <RETURNS>GnomeClient  *</RETURNS>
  2836. void
  2837. </FUNCTION>
  2838. <FUNCTION>
  2839. <NAME>gnome_client_request_interaction</NAME>
  2840. <RETURNS>void  </RETURNS>
  2841. GnomeClient *client,GnomeDialogType dialog,GnomeInteractFunction func,gpointer client_data
  2842. </FUNCTION>
  2843. <FUNCTION>
  2844. <NAME>gnome_client_request_interaction_interp</NAME>
  2845. <RETURNS>void  </RETURNS>
  2846. GnomeClient *client,GnomeDialogType dialog,GtkCallbackMarshal func,gpointer data,GtkDestroyNotify destroy
  2847. </FUNCTION>
  2848. <FUNCTION>
  2849. <NAME>gnome_interaction_key_return</NAME>
  2850. <RETURNS>void  </RETURNS>
  2851. gint     key,gboolean cancel_shutdown
  2852. </FUNCTION>
  2853. <MACRO>
  2854. <NAME>GNOME_TYPE_COLOR_PICKER</NAME>
  2855. #define GNOME_TYPE_COLOR_PICKER            (gnome_color_picker_get_type ())
  2856. </MACRO>
  2857. <MACRO>
  2858. <NAME>GNOME_COLOR_PICKER</NAME>
  2859. #define GNOME_COLOR_PICKER(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_COLOR_PICKER, GnomeColorPicker))
  2860. </MACRO>
  2861. <MACRO>
  2862. <NAME>GNOME_COLOR_PICKER_CLASS</NAME>
  2863. #define GNOME_COLOR_PICKER_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_COLOR_PICKER, GnomeColorPickerClass))
  2864. </MACRO>
  2865. <MACRO>
  2866. <NAME>GNOME_IS_COLOR_PICKER</NAME>
  2867. #define GNOME_IS_COLOR_PICKER(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_COLOR_PICKER))
  2868. </MACRO>
  2869. <MACRO>
  2870. <NAME>GNOME_IS_COLOR_PICKER_CLASS</NAME>
  2871. #define GNOME_IS_COLOR_PICKER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_COLOR_PICKER))
  2872. </MACRO>
  2873. <STRUCT>
  2874. <NAME>GnomeColorPicker</NAME>
  2875. </STRUCT>
  2876. <STRUCT>
  2877. <NAME>GnomeColorPickerClass</NAME>
  2878. </STRUCT>
  2879. <STRUCT>
  2880. <NAME>GnomeColorPicker</NAME>
  2881. struct GnomeColorPicker {
  2882.     GtkButton button;
  2883.  
  2884.     gdouble r, g, b, a;    /* Red, green, blue, and alpha values */
  2885.  
  2886.     GdkImlibImage *im;    /* Imlib image for rendering dithered sample */
  2887.     GdkPixmap *pixmap;    /* Pixmap with the sample contents */
  2888.     GdkGC *gc;        /* GC for drawing */
  2889.  
  2890.     GtkWidget *da;        /* Drawing area for color sample */
  2891.     GtkWidget *cs_dialog;    /* Color selection dialog */
  2892.  
  2893.     gchar *title;        /* Title for the color selection window */
  2894.  
  2895.     guint dither : 1;    /* Dither or just paint a solid color? */
  2896.     guint use_alpha : 1;    /* Use alpha or not */
  2897. };
  2898. </STRUCT>
  2899. <FUNCTION>
  2900. <NAME>gnome_color_picker_get_type</NAME>
  2901. <RETURNS>GtkType  </RETURNS>
  2902. void
  2903. </FUNCTION>
  2904. <FUNCTION>
  2905. <NAME>gnome_color_picker_new</NAME>
  2906. <RETURNS>GtkWidget  *</RETURNS>
  2907. void
  2908. </FUNCTION>
  2909. <FUNCTION>
  2910. <NAME>gnome_color_picker_set_d</NAME>
  2911. <RETURNS>void  </RETURNS>
  2912. GnomeColorPicker *cp, gdouble r, gdouble g, gdouble b, gdouble a
  2913. </FUNCTION>
  2914. <FUNCTION>
  2915. <NAME>gnome_color_picker_get_d</NAME>
  2916. <RETURNS>void  </RETURNS>
  2917. GnomeColorPicker *cp, gdouble *r, gdouble *g, gdouble *b, gdouble *a
  2918. </FUNCTION>
  2919. <FUNCTION>
  2920. <NAME>gnome_color_picker_set_i8</NAME>
  2921. <RETURNS>void  </RETURNS>
  2922. GnomeColorPicker *cp, guint8 r, guint8 g, guint8 b, guint8 a
  2923. </FUNCTION>
  2924. <FUNCTION>
  2925. <NAME>gnome_color_picker_get_i8</NAME>
  2926. <RETURNS>void  </RETURNS>
  2927. GnomeColorPicker *cp, guint8 *r, guint8 *g, guint8 *b, guint8 *a
  2928. </FUNCTION>
  2929. <FUNCTION>
  2930. <NAME>gnome_color_picker_set_i16</NAME>
  2931. <RETURNS>void  </RETURNS>
  2932. GnomeColorPicker *cp, gushort r, gushort g, gushort b, gushort a
  2933. </FUNCTION>
  2934. <FUNCTION>
  2935. <NAME>gnome_color_picker_get_i16</NAME>
  2936. <RETURNS>void  </RETURNS>
  2937. GnomeColorPicker *cp, gushort *r, gushort *g, gushort *b, gushort *a
  2938. </FUNCTION>
  2939. <FUNCTION>
  2940. <NAME>gnome_color_picker_set_dither</NAME>
  2941. <RETURNS>void  </RETURNS>
  2942. GnomeColorPicker *cp, gboolean dither
  2943. </FUNCTION>
  2944. <FUNCTION>
  2945. <NAME>gnome_color_picker_set_use_alpha</NAME>
  2946. <RETURNS>void  </RETURNS>
  2947. GnomeColorPicker *cp, gboolean use_alpha
  2948. </FUNCTION>
  2949. <FUNCTION>
  2950. <NAME>gnome_color_picker_set_title</NAME>
  2951. <RETURNS>void  </RETURNS>
  2952. GnomeColorPicker *cp, const gchar *title
  2953. </FUNCTION>
  2954. <MACRO>
  2955. <NAME>GNOME_IS_MDI_MDI_CHILD</NAME>
  2956. #  define GNOME_IS_MDI_MDI_CHILD(obj)     GNOME_IS_MDI_GENERIC_CHILD(obj)
  2957. </MACRO>
  2958. <ENUM>
  2959. <NAME>GnomeDateEditFlags</NAME>
  2960. typedef enum {
  2961.     GNOME_DATE_EDIT_SHOW_TIME             = 1 << 0,
  2962.     GNOME_DATE_EDIT_24_HR                 = 1 << 1,
  2963.     GNOME_DATE_EDIT_WEEK_STARTS_ON_MONDAY = 1 << 2
  2964. } GnomeDateEditFlags;
  2965. </ENUM>
  2966. <MACRO>
  2967. <NAME>GNOME_DATE_EDIT</NAME>
  2968. #define GNOME_DATE_EDIT(obj)          GTK_CHECK_CAST (obj, gnome_date_edit_get_type(), GnomeDateEdit)
  2969. </MACRO>
  2970. <MACRO>
  2971. <NAME>GNOME_DATE_EDIT_CLASS</NAME>
  2972. #define GNOME_DATE_EDIT_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_date_edit_get_type(), GnomeDateEditClass)
  2973. </MACRO>
  2974. <MACRO>
  2975. <NAME>GNOME_IS_DATE_EDIT</NAME>
  2976. #define GNOME_IS_DATE_EDIT(obj)       GTK_CHECK_TYPE (obj, gnome_date_edit_get_type ())
  2977. </MACRO>
  2978. <STRUCT>
  2979. <NAME>GnomeDateEdit</NAME>
  2980. typedef struct {
  2981.     GtkHBox hbox;
  2982.  
  2983.     GtkWidget *date_entry;
  2984.     GtkWidget *date_button;
  2985.     
  2986.     GtkWidget *time_entry;
  2987.     GtkWidget *time_popup;
  2988.  
  2989.     GtkWidget *cal_label;
  2990.     GtkWidget *cal_popup;
  2991.     GtkWidget *calendar;
  2992.  
  2993.     int       lower_hour;
  2994.     int       upper_hour;
  2995.     
  2996.     time_t    initial_time;
  2997.     int       flags;
  2998. } GnomeDateEdit;
  2999. </STRUCT>
  3000. <FUNCTION>
  3001. <NAME>gnome_date_edit_get_type</NAME>
  3002. <RETURNS>guint  </RETURNS>
  3003. void
  3004. </FUNCTION>
  3005. <FUNCTION>
  3006. <NAME>gnome_date_edit_new</NAME>
  3007. <RETURNS>GtkWidget  *</RETURNS>
  3008. time_t the_time, int show_time, int use_24_format
  3009. </FUNCTION>
  3010. <FUNCTION>
  3011. <NAME>gnome_date_edit_new_flags</NAME>
  3012. <RETURNS>GtkWidget  *</RETURNS>
  3013. time_t the_time, GnomeDateEditFlags flags
  3014. </FUNCTION>
  3015. <FUNCTION>
  3016. <NAME>gnome_date_edit_set_time</NAME>
  3017. <RETURNS>void  </RETURNS>
  3018. GnomeDateEdit *gde, time_t the_time
  3019. </FUNCTION>
  3020. <FUNCTION>
  3021. <NAME>gnome_date_edit_set_popup_range</NAME>
  3022. <RETURNS>void  </RETURNS>
  3023. GnomeDateEdit *gde, int low_hour, int up_hour
  3024. </FUNCTION>
  3025. <FUNCTION>
  3026. <NAME>gnome_date_edit_get_date</NAME>
  3027. <RETURNS>time_t  </RETURNS>
  3028. GnomeDateEdit *gde
  3029. </FUNCTION>
  3030. <FUNCTION>
  3031. <NAME>gnome_date_edit_set_flags</NAME>
  3032. <RETURNS>void  </RETURNS>
  3033. GnomeDateEdit *gde, GnomeDateEditFlags flags
  3034. </FUNCTION>
  3035. <FUNCTION>
  3036. <NAME>gnome_date_edit_get_flags</NAME>
  3037. <RETURNS>int  </RETURNS>
  3038. GnomeDateEdit *gde
  3039. </FUNCTION>
  3040. <STRUCT>
  3041. <NAME>GnomeDEntryEdit</NAME>
  3042. </STRUCT>
  3043. <STRUCT>
  3044. <NAME>GnomeDEntryEditClass</NAME>
  3045. </STRUCT>
  3046. <MACRO>
  3047. <NAME>GNOME_DENTRY_EDIT</NAME>
  3048. #define GNOME_DENTRY_EDIT(obj)          GTK_CHECK_CAST (obj, gnome_dentry_edit_get_type (), GnomeDEntryEdit)
  3049. </MACRO>
  3050. <MACRO>
  3051. <NAME>GNOME_DENTRY_EDIT_CLASS</NAME>
  3052. #define GNOME_DENTRY_EDIT_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_dentry_edit_get_type (), GnomeDEntryEditClass)
  3053. </MACRO>
  3054. <MACRO>
  3055. <NAME>GNOME_IS_DENTRY_EDIT</NAME>
  3056. #define GNOME_IS_DENTRY_EDIT(obj)       GTK_CHECK_TYPE (obj, gnome_dentry_edit_get_type ())
  3057. </MACRO>
  3058. <STRUCT>
  3059. <NAME>GnomeDEntryEdit</NAME>
  3060. struct GnomeDEntryEdit {
  3061.   GtkObject object;
  3062.   
  3063.   /*semi public entries, you should however use macros to get these*/
  3064.   GtkWidget *child1;
  3065.   GtkWidget *child2;
  3066.   
  3067.   /* Remaining fields are private - if you need them, 
  3068.      please add an accessor function. */
  3069.  
  3070.   GtkWidget *name_entry;
  3071.   GtkWidget *comment_entry;
  3072.   GtkWidget *exec_entry;
  3073.   GtkWidget *tryexec_entry;
  3074.   GtkWidget *doc_entry;
  3075.  
  3076.   GtkWidget *type_combo;
  3077.  
  3078.   GtkWidget *terminal_button;  
  3079.  
  3080.   GtkWidget *icon_entry;
  3081. };
  3082. </STRUCT>
  3083. <FUNCTION>
  3084. <NAME>gnome_dentry_edit_get_type</NAME>
  3085. <RETURNS>guint  </RETURNS>
  3086. void
  3087. </FUNCTION>
  3088. <FUNCTION>
  3089. <NAME>gnome_dentry_edit_new</NAME>
  3090. <RETURNS>GtkObject  *</RETURNS>
  3091. void
  3092. </FUNCTION>
  3093. <MACRO>
  3094. <NAME>gnome_dentry_edit_child1</NAME>
  3095. #define gnome_dentry_edit_child1(d) (GNOME_DENTRY_EDIT(d)->child1)
  3096. </MACRO>
  3097. <MACRO>
  3098. <NAME>gnome_dentry_edit_child2</NAME>
  3099. #define gnome_dentry_edit_child2(d) (GNOME_DENTRY_EDIT(d)->child2)
  3100. </MACRO>
  3101. <FUNCTION>
  3102. <NAME>gnome_dentry_edit_new_notebook</NAME>
  3103. <RETURNS>GtkObject  *</RETURNS>
  3104. GtkNotebook * notebook
  3105. </FUNCTION>
  3106. <FUNCTION>
  3107. <NAME>gnome_dentry_edit_clear</NAME>
  3108. <RETURNS>void  </RETURNS>
  3109. GnomeDEntryEdit * dee
  3110. </FUNCTION>
  3111. <FUNCTION>
  3112. <NAME>gnome_dentry_edit_load_file</NAME>
  3113. <RETURNS>void  </RETURNS>
  3114. GnomeDEntryEdit * dee,const gchar * path
  3115. </FUNCTION>
  3116. <FUNCTION>
  3117. <NAME>gnome_dentry_edit_set_dentry</NAME>
  3118. <RETURNS>void  </RETURNS>
  3119. GnomeDEntryEdit * dee,GnomeDesktopEntry * dentry
  3120. </FUNCTION>
  3121. <FUNCTION>
  3122. <NAME>gnome_dentry_get_dentry</NAME>
  3123. <RETURNS>GnomeDesktopEntry  *</RETURNS>
  3124. GnomeDEntryEdit * dee
  3125. </FUNCTION>
  3126. <FUNCTION>
  3127. <NAME>gnome_dentry_edit_get_icon</NAME>
  3128. <RETURNS>gchar  *</RETURNS>
  3129. GnomeDEntryEdit * dee
  3130. </FUNCTION>
  3131. <FUNCTION>
  3132. <NAME>gnome_dentry_edit_get_name</NAME>
  3133. <RETURNS>gchar  *</RETURNS>
  3134. GnomeDEntryEdit * dee
  3135. </FUNCTION>
  3136. <FUNCTION>
  3137. <NAME>gnome_dentry_get_name_entry</NAME>
  3138. <RETURNS>GtkWidget  *</RETURNS>
  3139. GnomeDEntryEdit * dee
  3140. </FUNCTION>
  3141. <FUNCTION>
  3142. <NAME>gnome_dentry_get_comment_entry</NAME>
  3143. <RETURNS>GtkWidget  *</RETURNS>
  3144. GnomeDEntryEdit * dee
  3145. </FUNCTION>
  3146. <FUNCTION>
  3147. <NAME>gnome_dentry_get_exec_entry</NAME>
  3148. <RETURNS>GtkWidget  *</RETURNS>
  3149. GnomeDEntryEdit * dee
  3150. </FUNCTION>
  3151. <FUNCTION>
  3152. <NAME>gnome_dentry_get_tryexec_entry</NAME>
  3153. <RETURNS>GtkWidget  *</RETURNS>
  3154. GnomeDEntryEdit * dee
  3155. </FUNCTION>
  3156. <FUNCTION>
  3157. <NAME>gnome_dentry_get_doc_entry</NAME>
  3158. <RETURNS>GtkWidget  *</RETURNS>
  3159. GnomeDEntryEdit * dee
  3160. </FUNCTION>
  3161. <FUNCTION>
  3162. <NAME>gnome_dentry_get_icon_entry</NAME>
  3163. <RETURNS>GtkWidget  *</RETURNS>
  3164. GnomeDEntryEdit * dee
  3165. </FUNCTION>
  3166. <FUNCTION>
  3167. <NAME>gnome_ok_dialog</NAME>
  3168. <RETURNS>GtkWidget  *</RETURNS>
  3169. const gchar * message
  3170. </FUNCTION>
  3171. <FUNCTION>
  3172. <NAME>gnome_ok_dialog_parented</NAME>
  3173. <RETURNS>GtkWidget  *</RETURNS>
  3174. const gchar * message,GtkWindow * parent
  3175. </FUNCTION>
  3176. <FUNCTION>
  3177. <NAME>gnome_error_dialog</NAME>
  3178. <RETURNS>GtkWidget  *</RETURNS>
  3179. const gchar * error
  3180. </FUNCTION>
  3181. <FUNCTION>
  3182. <NAME>gnome_error_dialog_parented</NAME>
  3183. <RETURNS>GtkWidget  *</RETURNS>
  3184. const gchar * error,GtkWindow * parent
  3185. </FUNCTION>
  3186. <FUNCTION>
  3187. <NAME>gnome_warning_dialog</NAME>
  3188. <RETURNS>GtkWidget  *</RETURNS>
  3189. const gchar * warning
  3190. </FUNCTION>
  3191. <FUNCTION>
  3192. <NAME>gnome_warning_dialog_parented</NAME>
  3193. <RETURNS>GtkWidget  *</RETURNS>
  3194. const gchar * warning,GtkWindow * parent
  3195. </FUNCTION>
  3196. <FUNCTION>
  3197. <NAME>gnome_question_dialog</NAME>
  3198. <RETURNS>GtkWidget  *</RETURNS>
  3199. const gchar * question,GnomeReplyCallback callback,gpointer data
  3200. </FUNCTION>
  3201. <FUNCTION>
  3202. <NAME>gnome_question_dialog_parented</NAME>
  3203. <RETURNS>GtkWidget  *</RETURNS>
  3204. const gchar * question,GnomeReplyCallback callback,gpointer data,GtkWindow * parent
  3205. </FUNCTION>
  3206. <FUNCTION>
  3207. <NAME>gnome_question_dialog_modal</NAME>
  3208. <RETURNS>GtkWidget  *</RETURNS>
  3209. const gchar * question,GnomeReplyCallback callback,gpointer data
  3210. </FUNCTION>
  3211. <FUNCTION>
  3212. <NAME>gnome_question_dialog_modal_parented</NAME>
  3213. <RETURNS>GtkWidget  *</RETURNS>
  3214. const gchar * question,GnomeReplyCallback callback,gpointer data,GtkWindow * parent
  3215. </FUNCTION>
  3216. <FUNCTION>
  3217. <NAME>gnome_ok_cancel_dialog</NAME>
  3218. <RETURNS>GtkWidget  *</RETURNS>
  3219. const gchar * message,GnomeReplyCallback callback,gpointer data
  3220. </FUNCTION>
  3221. <FUNCTION>
  3222. <NAME>gnome_ok_cancel_dialog_parented</NAME>
  3223. <RETURNS>GtkWidget  *</RETURNS>
  3224. const gchar * message,GnomeReplyCallback callback,gpointer data,GtkWindow * parent
  3225. </FUNCTION>
  3226. <FUNCTION>
  3227. <NAME>gnome_ok_cancel_dialog_modal</NAME>
  3228. <RETURNS>GtkWidget  *</RETURNS>
  3229. const gchar * message,GnomeReplyCallback callback,gpointer data
  3230. </FUNCTION>
  3231. <FUNCTION>
  3232. <NAME>gnome_ok_cancel_dialog_modal_parented</NAME>
  3233. <RETURNS>GtkWidget  *</RETURNS>
  3234. const gchar * message,GnomeReplyCallback callback,gpointer data,GtkWindow * parent
  3235. </FUNCTION>
  3236. <FUNCTION>
  3237. <NAME>gnome_request_string_dialog</NAME>
  3238. <RETURNS>GtkWidget  *</RETURNS>
  3239. const gchar * prompt,GnomeStringCallback callback,gpointer data
  3240. </FUNCTION>
  3241. <FUNCTION>
  3242. <NAME>gnome_request_string_dialog_parented</NAME>
  3243. <RETURNS>GtkWidget  *</RETURNS>
  3244. const gchar * prompt,GnomeStringCallback callback,gpointer data,GtkWindow * parent
  3245. </FUNCTION>
  3246. <FUNCTION>
  3247. <NAME>gnome_request_password_dialog</NAME>
  3248. <RETURNS>GtkWidget  *</RETURNS>
  3249. const gchar * prompt,GnomeStringCallback callback,gpointer data
  3250. </FUNCTION>
  3251. <FUNCTION>
  3252. <NAME>gnome_request_password_dialog_parented</NAME>
  3253. <RETURNS>GtkWidget  *</RETURNS>
  3254. const gchar * prompt,GnomeStringCallback callback,gpointer data,GtkWindow * parent
  3255. </FUNCTION>
  3256. <FUNCTION>
  3257. <NAME>gnome_request_dialog</NAME>
  3258. <RETURNS>GtkWidget  *</RETURNS>
  3259. gboolean password,const gchar * prompt,const gchar * default_text,const guint16 max_length,GnomeStringCallback callback,gpointer data,GtkWindow * parent
  3260. </FUNCTION>
  3261. <MACRO>
  3262. <NAME>GNOME_DIALOG</NAME>
  3263. #define GNOME_DIALOG(obj)        GTK_CHECK_CAST (obj, gnome_dialog_get_type (), GnomeDialog)
  3264. </MACRO>
  3265. <MACRO>
  3266. <NAME>GNOME_DIALOG_CLASS</NAME>
  3267. #define GNOME_DIALOG_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_dialog_get_type (), GnomeDialogClass)
  3268. </MACRO>
  3269. <MACRO>
  3270. <NAME>GNOME_IS_DIALOG</NAME>
  3271. #define GNOME_IS_DIALOG(obj)       GTK_CHECK_TYPE (obj, gnome_dialog_get_type ())
  3272. </MACRO>
  3273. <STRUCT>
  3274. <NAME>GnomeDialog</NAME>
  3275. </STRUCT>
  3276. <STRUCT>
  3277. <NAME>GnomeDialogClass</NAME>
  3278. </STRUCT>
  3279. <STRUCT>
  3280. <NAME>GnomeDialog</NAME>
  3281. struct GnomeDialog
  3282. {
  3283.   GtkWindow window;
  3284.   GtkWidget * vbox;
  3285.  
  3286.   GtkWidget * action_area; /* A button box, not an hbox */
  3287.  
  3288.   GList *buttons;
  3289.   GtkAccelGroup * accelerators;
  3290.  
  3291.   unsigned int click_closes : 1;
  3292.   unsigned int just_hide : 1;
  3293.  
  3294.   gpointer padding;
  3295. };
  3296. </STRUCT>
  3297. <FUNCTION>
  3298. <NAME>gnome_dialog_get_type</NAME>
  3299. <RETURNS>guint  </RETURNS>
  3300. void
  3301. </FUNCTION>
  3302. <FUNCTION>
  3303. <NAME>gnome_dialog_new</NAME>
  3304. <RETURNS>GtkWidget *</RETURNS>
  3305. const gchar * title,...
  3306. </FUNCTION>
  3307. <FUNCTION>
  3308. <NAME>gnome_dialog_newv</NAME>
  3309. <RETURNS>GtkWidget *</RETURNS>
  3310. const gchar * title,const gchar **buttons
  3311. </FUNCTION>
  3312. <FUNCTION>
  3313. <NAME>gnome_dialog_set_parent</NAME>
  3314. <RETURNS>void  </RETURNS>
  3315. GnomeDialog * dialog,GtkWindow   * parent
  3316. </FUNCTION>
  3317. <FUNCTION>
  3318. <NAME>gnome_dialog_button_connect</NAME>
  3319. <RETURNS>void  </RETURNS>
  3320. GnomeDialog *dialog,gint button,GtkSignalFunc callback,gpointer data
  3321. </FUNCTION>
  3322. <FUNCTION>
  3323. <NAME>gnome_dialog_button_connect_object</NAME>
  3324. <RETURNS>void  </RETURNS>
  3325. GnomeDialog *dialog,gint button,GtkSignalFunc callback,GtkObject * obj
  3326. </FUNCTION>
  3327. <FUNCTION>
  3328. <NAME>gnome_dialog_run</NAME>
  3329. <RETURNS>gint  </RETURNS>
  3330. GnomeDialog *dialog
  3331. </FUNCTION>
  3332. <FUNCTION>
  3333. <NAME>gnome_dialog_run_and_close</NAME>
  3334. <RETURNS>gint  </RETURNS>
  3335. GnomeDialog *dialog
  3336. </FUNCTION>
  3337. <FUNCTION>
  3338. <NAME>gnome_dialog_set_default</NAME>
  3339. <RETURNS>void  </RETURNS>
  3340. GnomeDialog *dialog,gint         button
  3341. </FUNCTION>
  3342. <FUNCTION>
  3343. <NAME>gnome_dialog_set_sensitive</NAME>
  3344. <RETURNS>void  </RETURNS>
  3345. GnomeDialog *dialog,gint         button,gboolean     setting
  3346. </FUNCTION>
  3347. <FUNCTION>
  3348. <NAME>gnome_dialog_set_accelerator</NAME>
  3349. <RETURNS>void  </RETURNS>
  3350. GnomeDialog * dialog,gint button,const guchar accelerator_key,guint8       accelerator_mods
  3351. </FUNCTION>
  3352. <FUNCTION>
  3353. <NAME>gnome_dialog_close</NAME>
  3354. <RETURNS>void  </RETURNS>
  3355. GnomeDialog * dialog
  3356. </FUNCTION>
  3357. <FUNCTION>
  3358. <NAME>gnome_dialog_close_hides</NAME>
  3359. <RETURNS>void  </RETURNS>
  3360. GnomeDialog * dialog,gboolean just_hide
  3361. </FUNCTION>
  3362. <FUNCTION>
  3363. <NAME>gnome_dialog_set_close</NAME>
  3364. <RETURNS>void  </RETURNS>
  3365. GnomeDialog * dialog,gboolean click_closes
  3366. </FUNCTION>
  3367. <FUNCTION>
  3368. <NAME>gnome_dialog_editable_enters</NAME>
  3369. <RETURNS>void  </RETURNS>
  3370. GnomeDialog * dialog,GtkEditable * editable
  3371. </FUNCTION>
  3372. <FUNCTION>
  3373. <NAME>gnome_dialog_append_buttons</NAME>
  3374. <RETURNS>void  </RETURNS>
  3375. GnomeDialog * dialog,const gchar * first,...
  3376. </FUNCTION>
  3377. <FUNCTION>
  3378. <NAME>gnome_dialog_append_button</NAME>
  3379. <RETURNS>void  </RETURNS>
  3380. GnomeDialog * dialog,const gchar * name
  3381. </FUNCTION>
  3382. <FUNCTION>
  3383. <NAME>gnome_dialog_append_buttonsv</NAME>
  3384. <RETURNS>void  </RETURNS>
  3385. GnomeDialog * dialog,const gchar **buttons
  3386. </FUNCTION>
  3387. <FUNCTION>
  3388. <NAME>gnome_dialog_append_button_with_pixmap</NAME>
  3389. <RETURNS>void  </RETURNS>
  3390. GnomeDialog * dialog,const gchar * name,const gchar * pixmap
  3391. </FUNCTION>
  3392. <FUNCTION>
  3393. <NAME>gnome_dialog_append_buttons_with_pixmaps</NAME>
  3394. <RETURNS>void  </RETURNS>
  3395. GnomeDialog * dialog,const gchar **names,const gchar **pixmaps
  3396. </FUNCTION>
  3397. <FUNCTION>
  3398. <NAME>gnome_dialog_construct</NAME>
  3399. <RETURNS>void  </RETURNS>
  3400. GnomeDialog * dialog,const gchar * title,va_list ap
  3401. </FUNCTION>
  3402. <FUNCTION>
  3403. <NAME>gnome_dialog_constructv</NAME>
  3404. <RETURNS>void  </RETURNS>
  3405. GnomeDialog * dialog,const gchar * title,const gchar **buttons
  3406. </FUNCTION>
  3407. <FUNCTION>
  3408. <NAME>gnome_dns_init</NAME>
  3409. <RETURNS>void  </RETURNS>
  3410. gint server_count
  3411. </FUNCTION>
  3412. <FUNCTION>
  3413. <NAME>gnome_dns_lookup</NAME>
  3414. <RETURNS>guint32  </RETURNS>
  3415. const char *hostname,void (* callback) (guint32 ip_addr, void *callback_data),void *callback_data
  3416. </FUNCTION>
  3417. <FUNCTION>
  3418. <NAME>gnome_dns_abort</NAME>
  3419. <RETURNS>void  </RETURNS>
  3420. guint32 tag
  3421. </FUNCTION>
  3422. <MACRO>
  3423. <NAME>GNOME_DOCK_BAND</NAME>
  3424. #define GNOME_DOCK_BAND(obj) \
  3425.   GTK_CHECK_CAST (obj, gnome_dock_band_get_type (), GnomeDockBand)
  3426. </MACRO>
  3427. <MACRO>
  3428. <NAME>GNOME_DOCK_BAND_CLASS</NAME>
  3429. #define GNOME_DOCK_BAND_CLASS(class) \
  3430.   GTK_CHECK_CLASS_CAST (class, gnome_dock_band_get_type (), GnomeDockBandClass)
  3431. </MACRO>
  3432. <MACRO>
  3433. <NAME>GNOME_IS_DOCK_BAND</NAME>
  3434. #define GNOME_IS_DOCK_BAND(obj) \
  3435.   GTK_CHECK_TYPE (obj, gnome_dock_band_get_type ())
  3436. </MACRO>
  3437. <STRUCT>
  3438. <NAME>GnomeDockBand</NAME>
  3439. </STRUCT>
  3440. <STRUCT>
  3441. <NAME>GnomeDockBandClass</NAME>
  3442. </STRUCT>
  3443. <STRUCT>
  3444. <NAME>GnomeDockBandChild</NAME>
  3445. </STRUCT>
  3446. <STRUCT>
  3447. <NAME>GnomeDockBand</NAME>
  3448. struct GnomeDockBand
  3449. {
  3450.   GtkContainer container;
  3451.  
  3452.   GtkOrientation orientation;
  3453.  
  3454.   GList *children;              /* GnomeDockBandChild */
  3455.   guint num_children;
  3456.  
  3457.   GList *floating_child;        /* GnomeDockBandChild */
  3458.  
  3459.   gboolean doing_drag;
  3460.  
  3461.   guint max_space_requisition;
  3462.   guint tot_offsets;
  3463.  
  3464.   /* This used to remember the allocation before the drag begin: it is
  3465.      necessary to do so because we actually decide what docking action
  3466.      happens depending on it, instead of using the current allocation
  3467.      (which might be constantly changing while the user drags things
  3468.      around).  */
  3469.   GtkAllocation drag_allocation;
  3470.  
  3471.   guint new_for_drag : 1;
  3472. };
  3473. </STRUCT>
  3474. <STRUCT>
  3475. <NAME>GnomeDockBandChild</NAME>
  3476. struct GnomeDockBandChild
  3477. {
  3478.   GtkWidget *widget;
  3479.  
  3480.   /* Maximum (requested) offset from the previous child.  */
  3481.   guint offset;
  3482.  
  3483.   /* Actual offset.  */
  3484.   guint real_offset;
  3485.  
  3486.   guint drag_offset;
  3487.  
  3488.   GtkAllocation drag_allocation;
  3489.  
  3490.   guint prev_space, foll_space;
  3491.   guint drag_prev_space, drag_foll_space;
  3492.  
  3493.   guint max_space_requisition;
  3494. };
  3495. </STRUCT>
  3496. <FUNCTION>
  3497. <NAME>gnome_dock_band_new</NAME>
  3498. <RETURNS>GtkWidget      *</RETURNS>
  3499. void
  3500. </FUNCTION>
  3501. <FUNCTION>
  3502. <NAME>gnome_dock_band_get_type</NAME>
  3503. <RETURNS>guint  </RETURNS>
  3504. void
  3505. </FUNCTION>
  3506. <FUNCTION>
  3507. <NAME>gnome_dock_band_set_orientation</NAME>
  3508. <RETURNS>void  </RETURNS>
  3509. GnomeDockBand *band,GtkOrientation orientation
  3510. </FUNCTION>
  3511. <FUNCTION>
  3512. <NAME>gnome_dock_band_get_orientation</NAME>
  3513. <RETURNS>GtkOrientation  </RETURNS>
  3514. GnomeDockBand *band
  3515. </FUNCTION>
  3516. <FUNCTION>
  3517. <NAME>gnome_dock_band_insert</NAME>
  3518. <RETURNS>gboolean  </RETURNS>
  3519. GnomeDockBand *band,GtkWidget *child,guint offset,gint position
  3520. </FUNCTION>
  3521. <FUNCTION>
  3522. <NAME>gnome_dock_band_prepend</NAME>
  3523. <RETURNS>gboolean  </RETURNS>
  3524. GnomeDockBand *band,GtkWidget *child,guint offset
  3525. </FUNCTION>
  3526. <FUNCTION>
  3527. <NAME>gnome_dock_band_append</NAME>
  3528. <RETURNS>gboolean  </RETURNS>
  3529. GnomeDockBand *band,GtkWidget *child,guint offset
  3530. </FUNCTION>
  3531. <FUNCTION>
  3532. <NAME>gnome_dock_band_set_child_offset</NAME>
  3533. <RETURNS>void  </RETURNS>
  3534. GnomeDockBand *band,GtkWidget *child,guint offset
  3535. </FUNCTION>
  3536. <FUNCTION>
  3537. <NAME>gnome_dock_band_get_child_offset</NAME>
  3538. <RETURNS>guint  </RETURNS>
  3539. GnomeDockBand *band,GtkWidget *child
  3540. </FUNCTION>
  3541. <FUNCTION>
  3542. <NAME>gnome_dock_band_move_child</NAME>
  3543. <RETURNS>void  </RETURNS>
  3544. GnomeDockBand *band,GList *old_child,guint new_num
  3545. </FUNCTION>
  3546. <FUNCTION>
  3547. <NAME>gnome_dock_band_get_num_children</NAME>
  3548. <RETURNS>guint  </RETURNS>
  3549. GnomeDockBand *band
  3550. </FUNCTION>
  3551. <FUNCTION>
  3552. <NAME>gnome_dock_band_drag_begin</NAME>
  3553. <RETURNS>void  </RETURNS>
  3554. GnomeDockBand *band,GnomeDockItem *item
  3555. </FUNCTION>
  3556. <FUNCTION>
  3557. <NAME>gnome_dock_band_drag_to</NAME>
  3558. <RETURNS>gboolean  </RETURNS>
  3559. GnomeDockBand *band,GnomeDockItem *item,gint x, gint y
  3560. </FUNCTION>
  3561. <FUNCTION>
  3562. <NAME>gnome_dock_band_drag_end</NAME>
  3563. <RETURNS>void  </RETURNS>
  3564. GnomeDockBand *band,GnomeDockItem *item
  3565. </FUNCTION>
  3566. <FUNCTION>
  3567. <NAME>gnome_dock_band_get_item_by_name</NAME>
  3568. <RETURNS>GnomeDockItem  *</RETURNS>
  3569. GnomeDockBand *band,const char *name,guint *position_return,guint *offset_return
  3570. </FUNCTION>
  3571. <FUNCTION>
  3572. <NAME>gnome_dock_band_layout_add</NAME>
  3573. <RETURNS>void  </RETURNS>
  3574. GnomeDockBand *band,GnomeDockLayout *layout,GnomeDockPlacement placement,guint band_num
  3575. </FUNCTION>
  3576. <MACRO>
  3577. <NAME>GNOME_DOCK_ITEM</NAME>
  3578. #define GNOME_DOCK_ITEM(obj) \
  3579.   GTK_CHECK_CAST (obj, gnome_dock_item_get_type (), GnomeDockItem)
  3580. </MACRO>
  3581. <MACRO>
  3582. <NAME>GNOME_DOCK_ITEM_CLASS</NAME>
  3583. #define GNOME_DOCK_ITEM_CLASS(klass) \
  3584.   GTK_CHECK_CLASS_CAST (klass, gnome_dock_item_get_type (), GnomeDockItemClass)
  3585. </MACRO>
  3586. <MACRO>
  3587. <NAME>GNOME_IS_DOCK_ITEM</NAME>
  3588. #define GNOME_IS_DOCK_ITEM(obj) \
  3589.   GTK_CHECK_TYPE (obj, gnome_dock_item_get_type ())
  3590. </MACRO>
  3591. <ENUM>
  3592. <NAME>GnomeDockItemBehavior</NAME>
  3593. typedef enum
  3594. {
  3595.   GNOME_DOCK_ITEM_BEH_NORMAL = 0,
  3596.   GNOME_DOCK_ITEM_BEH_EXCLUSIVE = 1 << 0,
  3597.   GNOME_DOCK_ITEM_BEH_NEVER_FLOATING = 1 << 1,
  3598.   GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL = 1 << 2,
  3599.   GNOME_DOCK_ITEM_BEH_NEVER_HORIZONTAL = 1 << 3,
  3600.   GNOME_DOCK_ITEM_BEH_LOCKED = 1 << 4
  3601. } GnomeDockItemBehavior;
  3602. </ENUM>
  3603. <MACRO>
  3604. <NAME>GNOME_DOCK_ITEM_BEH_NEVER_DETACH</NAME>
  3605. #define GNOME_DOCK_ITEM_BEH_NEVER_DETACH GNOME_DOCK_ITEM_BEH_NEVER_FLOATING
  3606. </MACRO>
  3607. <MACRO>
  3608. <NAME>GNOME_DOCK_ITEM_NOT_LOCKED</NAME>
  3609. #define GNOME_DOCK_ITEM_NOT_LOCKED(x) (! (GNOME_DOCK_ITEM(x)->behavior \
  3610.                                           & GNOME_DOCK_ITEM_BEH_LOCKED))
  3611. </MACRO>
  3612. <STRUCT>
  3613. <NAME>GnomeDockItem</NAME>
  3614. </STRUCT>
  3615. <STRUCT>
  3616. <NAME>GnomeDockItemClass</NAME>
  3617. </STRUCT>
  3618. <STRUCT>
  3619. <NAME>GnomeDockItem</NAME>
  3620. struct GnomeDockItem
  3621. {
  3622.   GtkBin bin;
  3623.  
  3624.   gchar                *name;
  3625.  
  3626.   GdkWindow            *bin_window; /* parent window for children */
  3627.   GdkWindow            *float_window;
  3628.   GtkShadowType         shadow_type;
  3629.  
  3630.   GtkOrientation        orientation;
  3631.   GnomeDockItemBehavior behavior;
  3632.  
  3633.   guint                 float_window_mapped : 1;
  3634.   guint                 is_floating : 1;
  3635.   guint                 in_drag : 1;
  3636.  
  3637.   /* Start drag position (wrt widget->window).  */
  3638.   gint                  dragoff_x, dragoff_y;
  3639.  
  3640.   /* Position of the floating window.  */
  3641.   gint                  float_x, float_y;
  3642.  
  3643.   /* If TRUE, the pointer must be grabbed on "map_event".  */
  3644.   guint                 grab_on_map_event;
  3645. };
  3646. </STRUCT>
  3647. <FUNCTION>
  3648. <NAME>gnome_dock_item_get_type</NAME>
  3649. <RETURNS>guint  </RETURNS>
  3650. void
  3651. </FUNCTION>
  3652. <FUNCTION>
  3653. <NAME>gnome_dock_item_new</NAME>
  3654. <RETURNS>GtkWidget      *</RETURNS>
  3655. const gchar *name,GnomeDockItemBehavior behavior
  3656. </FUNCTION>
  3657. <FUNCTION>
  3658. <NAME>gnome_dock_item_get_child</NAME>
  3659. <RETURNS>GtkWidget      *</RETURNS>
  3660. GnomeDockItem *dock_item
  3661. </FUNCTION>
  3662. <FUNCTION>
  3663. <NAME>gnome_dock_item_get_name</NAME>
  3664. <RETURNS>char           *</RETURNS>
  3665. GnomeDockItem *dock_item
  3666. </FUNCTION>
  3667. <FUNCTION>
  3668. <NAME>gnome_dock_item_set_shadow_type</NAME>
  3669. <RETURNS>void  </RETURNS>
  3670. GnomeDockItem *dock_item,GtkShadowType type
  3671. </FUNCTION>
  3672. <FUNCTION>
  3673. <NAME>gnome_dock_item_get_shadow_type</NAME>
  3674. <RETURNS>GtkShadowType  </RETURNS>
  3675. GnomeDockItem *dock_item
  3676. </FUNCTION>
  3677. <FUNCTION>
  3678. <NAME>gnome_dock_item_set_orientation</NAME>
  3679. <RETURNS>gboolean  </RETURNS>
  3680. GnomeDockItem *dock_item,GtkOrientation orientation
  3681. </FUNCTION>
  3682. <FUNCTION>
  3683. <NAME>gnome_dock_item_get_orientation</NAME>
  3684. <RETURNS>GtkOrientation  </RETURNS>
  3685. GnomeDockItem *dock_item
  3686. </FUNCTION>
  3687. <FUNCTION>
  3688. <NAME>gnome_dock_item_get_behavior</NAME>
  3689. <RETURNS>GnomeDockItemBehavior</RETURNS>
  3690. GnomeDockItem *dock_item
  3691. </FUNCTION>
  3692. <FUNCTION>
  3693. <NAME>gnome_dock_item_detach</NAME>
  3694. <RETURNS>gboolean  </RETURNS>
  3695. GnomeDockItem *item,gint x, gint y
  3696. </FUNCTION>
  3697. <FUNCTION>
  3698. <NAME>gnome_dock_item_attach</NAME>
  3699. <RETURNS>void  </RETURNS>
  3700. GnomeDockItem *item,GtkWidget *parent,gint x, gint y
  3701. </FUNCTION>
  3702. <FUNCTION>
  3703. <NAME>gnome_dock_item_grab_pointer</NAME>
  3704. <RETURNS>void  </RETURNS>
  3705. GnomeDockItem *item
  3706. </FUNCTION>
  3707. <FUNCTION>
  3708. <NAME>gnome_dock_item_drag_floating</NAME>
  3709. <RETURNS>void  </RETURNS>
  3710. GnomeDockItem *item,gint x, gint y
  3711. </FUNCTION>
  3712. <FUNCTION>
  3713. <NAME>gnome_dock_item_handle_size_request</NAME>
  3714. <RETURNS>void  </RETURNS>
  3715. GnomeDockItem *item,GtkRequisition *requisition
  3716. </FUNCTION>
  3717. <FUNCTION>
  3718. <NAME>gnome_dock_item_get_floating_position</NAME>
  3719. <RETURNS>void  </RETURNS>
  3720. GnomeDockItem *item,gint *x, gint *y
  3721. </FUNCTION>
  3722. <MACRO>
  3723. <NAME>GNOME_DOCK_LAYOUT</NAME>
  3724. #define GNOME_DOCK_LAYOUT(obj) \
  3725.   GTK_CHECK_CAST (obj, gnome_dock_layout_get_type (), GnomeDockLayout)
  3726. </MACRO>
  3727. <MACRO>
  3728. <NAME>GNOME_DOCK_LAYOUT_CLASS</NAME>
  3729. #define GNOME_DOCK_LAYOUT_CLASS(klass) \
  3730.   GTK_CHECK_CLASS_CAST (klass, gnome_dock_layout_get_type (), GnomeDockLayoutClass)
  3731. </MACRO>
  3732. <MACRO>
  3733. <NAME>GNOME_IS_DOCK_LAYOUT</NAME>
  3734. #define GNOME_IS_DOCK_LAYOUT(obj) \
  3735.   GTK_CHECK_TYPE (obj, gnome_dock_layout_get_type ())
  3736. </MACRO>
  3737. <STRUCT>
  3738. <NAME>GnomeDockLayoutItem</NAME>
  3739. </STRUCT>
  3740. <STRUCT>
  3741. <NAME>GnomeDockLayoutClass</NAME>
  3742. </STRUCT>
  3743. <STRUCT>
  3744. <NAME>GnomeDockLayout</NAME>
  3745. </STRUCT>
  3746. <STRUCT>
  3747. <NAME>GnomeDockLayoutItem</NAME>
  3748. struct GnomeDockLayoutItem
  3749. {
  3750.   GnomeDockItem *item;
  3751.  
  3752.   GnomeDockPlacement placement;
  3753.  
  3754.   union
  3755.   {
  3756.     struct
  3757.     {
  3758.       gint x;
  3759.       gint y;
  3760.       GtkOrientation orientation;
  3761.     } floating;
  3762.  
  3763.     struct
  3764.     {
  3765.       gint band_num;
  3766.       gint band_position;
  3767.       gint offset;
  3768.     } docked;
  3769.  
  3770.   } position;
  3771. };
  3772. </STRUCT>
  3773. <STRUCT>
  3774. <NAME>GnomeDockLayout</NAME>
  3775. struct GnomeDockLayout
  3776. {
  3777.   GtkObject object;
  3778.  
  3779.   GList *items;                 /* GnomeDockLayoutItem */
  3780. };
  3781. </STRUCT>
  3782. <FUNCTION>
  3783. <NAME>gnome_dock_layout_new</NAME>
  3784. <RETURNS>GnomeDockLayout      *</RETURNS>
  3785. void
  3786. </FUNCTION>
  3787. <FUNCTION>
  3788. <NAME>gnome_dock_layout_get_type</NAME>
  3789. <RETURNS>guint  </RETURNS>
  3790. void
  3791. </FUNCTION>
  3792. <FUNCTION>
  3793. <NAME>gnome_dock_layout_add_item</NAME>
  3794. <RETURNS>gboolean  </RETURNS>
  3795. GnomeDockLayout *layout,GnomeDockItem *item,GnomeDockPlacement placement,gint band_num,gint band_position,gint offset
  3796. </FUNCTION>
  3797. <FUNCTION>
  3798. <NAME>gnome_dock_layout_add_floating_item</NAME>
  3799. <RETURNS>gboolean  </RETURNS>
  3800. GnomeDockLayout *layout,GnomeDockItem *item,gint x, gint y,GtkOrientation orientation
  3801. </FUNCTION>
  3802. <FUNCTION>
  3803. <NAME>gnome_dock_layout_get_item</NAME>
  3804. <RETURNS>GnomeDockLayoutItem  *</RETURNS>
  3805. GnomeDockLayout *layout,GnomeDockItem *item
  3806. </FUNCTION>
  3807. <FUNCTION>
  3808. <NAME>gnome_dock_layout_get_item_by_name</NAME>
  3809. <RETURNS>GnomeDockLayoutItem  *</RETURNS>
  3810. GnomeDockLayout *layout,const gchar *name
  3811. </FUNCTION>
  3812. <FUNCTION>
  3813. <NAME>gnome_dock_layout_remove_item</NAME>
  3814. <RETURNS>gboolean  </RETURNS>
  3815. GnomeDockLayout *layout,GnomeDockItem *item
  3816. </FUNCTION>
  3817. <FUNCTION>
  3818. <NAME>gnome_dock_layout_remove_item_by_name</NAME>
  3819. <RETURNS>gboolean  </RETURNS>
  3820. GnomeDockLayout *layout,const gchar *name
  3821. </FUNCTION>
  3822. <FUNCTION>
  3823. <NAME>gnome_dock_layout_create_string</NAME>
  3824. <RETURNS>gchar                *</RETURNS>
  3825. GnomeDockLayout *layout
  3826. </FUNCTION>
  3827. <FUNCTION>
  3828. <NAME>gnome_dock_layout_parse_string</NAME>
  3829. <RETURNS>gboolean  </RETURNS>
  3830. GnomeDockLayout *layout,const gchar *string
  3831. </FUNCTION>
  3832. <FUNCTION>
  3833. <NAME>gnome_dock_layout_add_to_dock</NAME>
  3834. <RETURNS>gboolean  </RETURNS>
  3835. GnomeDockLayout *layout,GnomeDock *dock
  3836. </FUNCTION>
  3837. <MACRO>
  3838. <NAME>GNOME_DOCK</NAME>
  3839. #define GNOME_DOCK(obj) \
  3840.   GTK_CHECK_CAST (obj, gnome_dock_get_type (), GnomeDock)
  3841. </MACRO>
  3842. <MACRO>
  3843. <NAME>GNOME_DOCK_CLASS</NAME>
  3844. #define GNOME_DOCK_CLASS(klass) \
  3845.   GTK_CHECK_CLASS_CAST (klass, gnome_dock_get_type (), GnomeDockClass)
  3846. </MACRO>
  3847. <MACRO>
  3848. <NAME>GNOME_IS_DOCK</NAME>
  3849. #define GNOME_IS_DOCK(obj) \
  3850.   GTK_CHECK_TYPE (obj, gnome_dock_get_type ())
  3851. </MACRO>
  3852. <ENUM>
  3853. <NAME>GnomeDockPlacement</NAME>
  3854. typedef enum
  3855. {
  3856.   GNOME_DOCK_TOP,
  3857.   GNOME_DOCK_RIGHT,
  3858.   GNOME_DOCK_BOTTOM,
  3859.   GNOME_DOCK_LEFT,
  3860.   GNOME_DOCK_FLOATING
  3861. } GnomeDockPlacement;
  3862. </ENUM>
  3863. <STRUCT>
  3864. <NAME>GnomeDock</NAME>
  3865. </STRUCT>
  3866. <STRUCT>
  3867. <NAME>GnomeDockClass</NAME>
  3868. </STRUCT>
  3869. <STRUCT>
  3870. <NAME>GnomeDock</NAME>
  3871. struct GnomeDock
  3872. {
  3873.   GtkContainer container;
  3874.  
  3875.   GtkWidget *client_area;
  3876.  
  3877.   /* GnomeDockBands associated with this dock.  */
  3878.   GList *top_bands;
  3879.   GList *bottom_bands;
  3880.   GList *right_bands;
  3881.   GList *left_bands;
  3882.  
  3883.   /* Children that are currently not docked.  */
  3884.   GList *floating_children;     /* GtkWidget */
  3885.  
  3886.   /* Client rectangle before drag.  */
  3887.   GtkAllocation client_rect;
  3888.  
  3889.   gboolean floating_items_allowed : 1;
  3890. };
  3891. </STRUCT>
  3892. <FUNCTION>
  3893. <NAME>gnome_dock_new</NAME>
  3894. <RETURNS>GtkWidget      *</RETURNS>
  3895. void
  3896. </FUNCTION>
  3897. <FUNCTION>
  3898. <NAME>gnome_dock_get_type</NAME>
  3899. <RETURNS>guint  </RETURNS>
  3900. void
  3901. </FUNCTION>
  3902. <FUNCTION>
  3903. <NAME>gnome_dock_allow_floating_items</NAME>
  3904. <RETURNS>void  </RETURNS>
  3905. GnomeDock *dock,gboolean enable
  3906. </FUNCTION>
  3907. <FUNCTION>
  3908. <NAME>gnome_dock_add_item</NAME>
  3909. <RETURNS>void  </RETURNS>
  3910. GnomeDock             *dock,GnomeDockItem         *item,GnomeDockPlacement  placement,guint                  band_num,gint                   position,guint                  offset,gboolean               in_new_band
  3911. </FUNCTION>
  3912. <FUNCTION>
  3913. <NAME>gnome_dock_add_floating_item</NAME>
  3914. <RETURNS>void  </RETURNS>
  3915. GnomeDock *dock,GnomeDockItem *widget,gint x, gint y,GtkOrientation orientation
  3916. </FUNCTION>
  3917. <FUNCTION>
  3918. <NAME>gnome_dock_set_client_area</NAME>
  3919. <RETURNS>void  </RETURNS>
  3920. GnomeDock             *dock,GtkWidget             *widget
  3921. </FUNCTION>
  3922. <FUNCTION>
  3923. <NAME>gnome_dock_get_client_area</NAME>
  3924. <RETURNS>GtkWidget      *</RETURNS>
  3925. GnomeDock             *dock
  3926. </FUNCTION>
  3927. <FUNCTION>
  3928. <NAME>gnome_dock_get_item_by_name</NAME>
  3929. <RETURNS>GnomeDockItem  *</RETURNS>
  3930. GnomeDock *dock,const gchar *name,GnomeDockPlacement *placement_return,guint *num_band_return,guint *band_position_return,guint *offset_return
  3931. </FUNCTION>
  3932. <FUNCTION>
  3933. <NAME>gnome_dock_get_layout</NAME>
  3934. <RETURNS>GnomeDockLayout  *</RETURNS>
  3935. GnomeDock *dock
  3936. </FUNCTION>
  3937. <FUNCTION>
  3938. <NAME>gnome_dock_add_from_layout</NAME>
  3939. <RETURNS>gboolean  </RETURNS>
  3940. GnomeDock *dock,GnomeDockLayout *layout
  3941. </FUNCTION>
  3942. <MACRO>
  3943. <NAME>GNOME_ENTRY</NAME>
  3944. #define GNOME_ENTRY(obj)         GTK_CHECK_CAST (obj, gnome_entry_get_type (), GnomeEntry)
  3945. </MACRO>
  3946. <MACRO>
  3947. <NAME>GNOME_ENTRY_CLASS</NAME>
  3948. #define GNOME_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_entry_get_type (), GnomeEntryClass)
  3949. </MACRO>
  3950. <MACRO>
  3951. <NAME>GNOME_IS_ENTRY</NAME>
  3952. #define GNOME_IS_ENTRY(obj)      GTK_CHECK_TYPE (obj, gnome_entry_get_type ())
  3953. </MACRO>
  3954. <STRUCT>
  3955. <NAME>GnomeEntry</NAME>
  3956. </STRUCT>
  3957. <STRUCT>
  3958. <NAME>GnomeEntryClass</NAME>
  3959. </STRUCT>
  3960. <STRUCT>
  3961. <NAME>GnomeEntry</NAME>
  3962. struct GnomeEntry {
  3963.     GtkCombo combo;
  3964.  
  3965.     int    changed;
  3966.     char  *history_id;
  3967.     GList *items;
  3968.     guint  max_saved;
  3969. };
  3970. </STRUCT>
  3971. <FUNCTION>
  3972. <NAME>gnome_entry_get_type</NAME>
  3973. <RETURNS>guint  </RETURNS>
  3974. void
  3975. </FUNCTION>
  3976. <FUNCTION>
  3977. <NAME>gnome_entry_new</NAME>
  3978. <RETURNS>GtkWidget  *</RETURNS>
  3979. const gchar *history_id
  3980. </FUNCTION>
  3981. <FUNCTION>
  3982. <NAME>gnome_entry_gtk_entry</NAME>
  3983. <RETURNS>GtkWidget  *</RETURNS>
  3984. GnomeEntry *gentry
  3985. </FUNCTION>
  3986. <FUNCTION>
  3987. <NAME>gnome_entry_set_history_id</NAME>
  3988. <RETURNS>void  </RETURNS>
  3989. GnomeEntry *gentry, const gchar *history_id
  3990. </FUNCTION>
  3991. <FUNCTION>
  3992. <NAME>gnome_entry_set_max_saved</NAME>
  3993. <RETURNS>void     </RETURNS>
  3994. GnomeEntry *gentry, guint max_saved
  3995. </FUNCTION>
  3996. <FUNCTION>
  3997. <NAME>gnome_entry_prepend_history</NAME>
  3998. <RETURNS>void  </RETURNS>
  3999. GnomeEntry *gentry, gint save, const gchar *text
  4000. </FUNCTION>
  4001. <FUNCTION>
  4002. <NAME>gnome_entry_append_history</NAME>
  4003. <RETURNS>void  </RETURNS>
  4004. GnomeEntry *gentry, gint save, const gchar *text
  4005. </FUNCTION>
  4006. <FUNCTION>
  4007. <NAME>gnome_entry_load_history</NAME>
  4008. <RETURNS>void  </RETURNS>
  4009. GnomeEntry *gentry
  4010. </FUNCTION>
  4011. <FUNCTION>
  4012. <NAME>gnome_entry_save_history</NAME>
  4013. <RETURNS>void  </RETURNS>
  4014. GnomeEntry *gentry
  4015. </FUNCTION>
  4016. <MACRO>
  4017. <NAME>GNOME_FILE_ENTRY</NAME>
  4018. #define GNOME_FILE_ENTRY(obj)         GTK_CHECK_CAST (obj, gnome_file_entry_get_type (), GnomeFileEntry)
  4019. </MACRO>
  4020. <MACRO>
  4021. <NAME>GNOME_FILE_ENTRY_CLASS</NAME>
  4022. #define GNOME_FILE_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_file_entry_get_type (), GnomeFileEntryClass)
  4023. </MACRO>
  4024. <MACRO>
  4025. <NAME>GNOME_IS_FILE_ENTRY</NAME>
  4026. #define GNOME_IS_FILE_ENTRY(obj)      GTK_CHECK_TYPE (obj, gnome_file_entry_get_type ())
  4027. </MACRO>
  4028. <STRUCT>
  4029. <NAME>GnomeFileEntry</NAME>
  4030. </STRUCT>
  4031. <STRUCT>
  4032. <NAME>GnomeFileEntryClass</NAME>
  4033. </STRUCT>
  4034. <STRUCT>
  4035. <NAME>GnomeFileEntry</NAME>
  4036. struct GnomeFileEntry {
  4037.     GtkHBox hbox;
  4038.  
  4039.     char *browse_dialog_title;
  4040.     char *default_path;
  4041.     
  4042.     /*the file dialog widget*/
  4043.     GtkWidget *fsw;
  4044.     
  4045.     int is_modal;
  4046.     
  4047.     int directory_entry; /*optional flag to only do directories*/
  4048.  
  4049.     GtkWidget *gentry;
  4050. };
  4051. </STRUCT>
  4052. <FUNCTION>
  4053. <NAME>gnome_file_entry_get_type</NAME>
  4054. <RETURNS>guint  </RETURNS>
  4055. void
  4056. </FUNCTION>
  4057. <FUNCTION>
  4058. <NAME>gnome_file_entry_new</NAME>
  4059. <RETURNS>GtkWidget  *</RETURNS>
  4060. char *history_id,char *browse_dialog_title
  4061. </FUNCTION>
  4062. <FUNCTION>
  4063. <NAME>gnome_file_entry_gnome_entry</NAME>
  4064. <RETURNS>GtkWidget  *</RETURNS>
  4065. GnomeFileEntry *fentry
  4066. </FUNCTION>
  4067. <FUNCTION>
  4068. <NAME>gnome_file_entry_gtk_entry</NAME>
  4069. <RETURNS>GtkWidget  *</RETURNS>
  4070. GnomeFileEntry *fentry
  4071. </FUNCTION>
  4072. <FUNCTION>
  4073. <NAME>gnome_file_entry_set_title</NAME>
  4074. <RETURNS>void  </RETURNS>
  4075. GnomeFileEntry *fentry,char *browse_dialog_title
  4076. </FUNCTION>
  4077. <FUNCTION>
  4078. <NAME>gnome_file_entry_set_default_path</NAME>
  4079. <RETURNS>void     </RETURNS>
  4080. GnomeFileEntry *fentry,char *path
  4081. </FUNCTION>
  4082. <FUNCTION>
  4083. <NAME>gnome_file_entry_set_directory</NAME>
  4084. <RETURNS>void     </RETURNS>
  4085. GnomeFileEntry *fentry,int directory_entry
  4086. </FUNCTION>
  4087. <FUNCTION>
  4088. <NAME>gnome_file_entry_get_full_path</NAME>
  4089. <RETURNS>char       *</RETURNS>
  4090. GnomeFileEntry *fentry,int file_must_exist
  4091. </FUNCTION>
  4092. <FUNCTION>
  4093. <NAME>gnome_file_entry_set_modal</NAME>
  4094. <RETURNS>void  </RETURNS>
  4095. GnomeFileEntry *fentry,int is_modal
  4096. </FUNCTION>
  4097. <ENUM>
  4098. <NAME>GnomeFontPickerMode</NAME>
  4099. typedef enum {
  4100.     GNOME_FONT_PICKER_MODE_PIXMAP,
  4101.     GNOME_FONT_PICKER_MODE_FONT_INFO,
  4102.     GNOME_FONT_PICKER_MODE_USER_WIDGET,
  4103.     GNOME_FONT_PICKER_MODE_UNKNOWN
  4104. } GnomeFontPickerMode;
  4105. </ENUM>
  4106. <MACRO>
  4107. <NAME>GNOME_TYPE_FONT_PICKER</NAME>
  4108. #define GNOME_TYPE_FONT_PICKER            (gnome_font_picker_get_type ())
  4109. </MACRO>
  4110. <MACRO>
  4111. <NAME>GNOME_FONT_PICKER</NAME>
  4112. #define GNOME_FONT_PICKER(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_FONT_PICKER, GnomeFontPicker))
  4113. </MACRO>
  4114. <MACRO>
  4115. <NAME>GNOME_FONT_PICKER_CLASS</NAME>
  4116. #define GNOME_FONT_PICKER_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_FONT_PICKER, GnomeFontPickerClass))
  4117. </MACRO>
  4118. <MACRO>
  4119. <NAME>GNOME_IS_FONT_PICKER</NAME>
  4120. #define GNOME_IS_FONT_PICKER(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_FONT_PICKER))
  4121. </MACRO>
  4122. <MACRO>
  4123. <NAME>GNOME_IS_FONT_PICKER_CLASS</NAME>
  4124. #define GNOME_IS_FONT_PICKER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_FONT_PICKER))
  4125. </MACRO>
  4126. <STRUCT>
  4127. <NAME>GnomeFontPicker</NAME>
  4128. </STRUCT>
  4129. <STRUCT>
  4130. <NAME>GnomeFontPickerClass</NAME>
  4131. </STRUCT>
  4132. <STRUCT>
  4133. <NAME>GnomeFontPicker</NAME>
  4134. struct GnomeFontPicker {
  4135.         GtkButton button;
  4136.     
  4137.     GtkWidget     *font_dialog;
  4138.         GtkWidget     *inside;
  4139.         GtkWidget     *font_label,*vsep,*size_label;
  4140.  
  4141.         
  4142.         /* Do not change, use set/get functions */
  4143.         GnomeFontPickerMode mode;
  4144.         gchar         *font_name;
  4145.         gchar         *preview_text;
  4146.         /* Only for GNOME_FONT_PICKER_MODE_FONT_INFO */
  4147.         gboolean      use_font_in_label;
  4148.         gboolean      use_font_in_label_size;
  4149.         gboolean      show_size;
  4150.  
  4151.         gchar         *title;
  4152. };
  4153. </STRUCT>
  4154. <FUNCTION>
  4155. <NAME>gnome_font_picker_get_type</NAME>
  4156. <RETURNS>GtkType  </RETURNS>
  4157. void
  4158. </FUNCTION>
  4159. <FUNCTION>
  4160. <NAME>gnome_font_picker_new</NAME>
  4161. <RETURNS>GtkWidget  *</RETURNS>
  4162. void
  4163. </FUNCTION>
  4164. <FUNCTION>
  4165. <NAME>gnome_font_picker_set_title</NAME>
  4166. <RETURNS>void  </RETURNS>
  4167. GnomeFontPicker *gfp, const gchar *title
  4168. </FUNCTION>
  4169. <FUNCTION>
  4170. <NAME>gnome_font_picker_get_mode</NAME>
  4171. <RETURNS>GnomeFontPickerMode</RETURNS>
  4172. GnomeFontPicker *gfp
  4173. </FUNCTION>
  4174. <FUNCTION>
  4175. <NAME>gnome_font_picker_set_mode</NAME>
  4176. <RETURNS>void  </RETURNS>
  4177. GnomeFontPicker *gfp,GnomeFontPickerMode mode
  4178. </FUNCTION>
  4179. <FUNCTION>
  4180. <NAME>gnome_font_picker_fi_set_use_font_in_label</NAME>
  4181. <RETURNS>void  </RETURNS>
  4182. GnomeFontPicker *gfp,gboolean use_font_in_label,gint size
  4183. </FUNCTION>
  4184. <FUNCTION>
  4185. <NAME>gnome_font_picker_fi_set_show_size</NAME>
  4186. <RETURNS>void  </RETURNS>
  4187. GnomeFontPicker *gfp,gboolean show_size
  4188. </FUNCTION>
  4189. <FUNCTION>
  4190. <NAME>gnome_font_picker_uw_set_widget</NAME>
  4191. <RETURNS>void  </RETURNS>
  4192. GnomeFontPicker *gfp,GtkWidget       *widget
  4193. </FUNCTION>
  4194. <FUNCTION>
  4195. <NAME>gnome_font_picker_get_font_name</NAME>
  4196. <RETURNS>gchar *</RETURNS>
  4197. GnomeFontPicker *gfp
  4198. </FUNCTION>
  4199. <FUNCTION>
  4200. <NAME>gnome_font_picker_get_font</NAME>
  4201. <RETURNS>GdkFont *</RETURNS>
  4202. GnomeFontPicker *gfp
  4203. </FUNCTION>
  4204. <FUNCTION>
  4205. <NAME>gnome_font_picker_set_font_name</NAME>
  4206. <RETURNS>gboolean  </RETURNS>
  4207. GnomeFontPicker *gfp,const gchar     *fontname
  4208. </FUNCTION>
  4209. <FUNCTION>
  4210. <NAME>gnome_font_picker_get_preview_text</NAME>
  4211. <RETURNS>gchar *</RETURNS>
  4212. GnomeFontPicker *gfp
  4213. </FUNCTION>
  4214. <FUNCTION>
  4215. <NAME>gnome_font_picker_set_preview_text</NAME>
  4216. <RETURNS>void     </RETURNS>
  4217. GnomeFontPicker *gfp,const gchar     *text
  4218. </FUNCTION>
  4219. <STRUCT>
  4220. <NAME>GnomeFontSelector</NAME>
  4221. </STRUCT>
  4222. <STRUCT>
  4223. <NAME>GnomeFontSelectorClass</NAME>
  4224. </STRUCT>
  4225. <MACRO>
  4226. <NAME>GNOME_FONT_SELECTOR</NAME>
  4227. #define GNOME_FONT_SELECTOR(obj) GTK_CHECK_CAST(obj, gnome_font_selector_get_type(), GnomeFontSelector)
  4228. </MACRO>
  4229. <MACRO>
  4230. <NAME>GNOME_FONT_SELECTOR_CLASS</NAME>
  4231. #define GNOME_FONT_SELECTOR_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, gnome_font_selector_get_type(), GnomeFontSelectorClass)
  4232. </MACRO>
  4233. <MACRO>
  4234. <NAME>GNOME_IS_FONT_SELECTOR</NAME>
  4235. #define GNOME_IS_FONT_SELECTOR(obj)      GTK_CHECK_TYPE(obj, gnome_font_selector_get_type())
  4236. </MACRO>
  4237. <STRUCT>
  4238. <NAME>FontInfo</NAME>
  4239. </STRUCT>
  4240. <STRUCT>
  4241. <NAME>GnomeFontSelector</NAME>
  4242. struct GnomeFontSelector
  4243. {
  4244.   GtkDialog parent_object;
  4245.  
  4246.   GtkWidget *ok_button, *cancel_button;
  4247.   GtkWidget *main_vbox;
  4248.   GtkWidget *font_list;
  4249.   GtkWidget *size_menu;
  4250.   GtkWidget *size_text;
  4251.   GtkWidget *border_text;
  4252.   GtkWidget *text_frame;
  4253.   GtkWidget *the_text;
  4254.   GtkWidget *menus[5];
  4255.   GtkWidget *option_menus[5];
  4256.   GtkWidget **foundry_items;
  4257.   GtkWidget **weight_items;
  4258.   GtkWidget **slant_items;
  4259.   GtkWidget **set_width_items;
  4260.   GtkWidget **spacing_items;
  4261.   GtkWidget *antialias_toggle;
  4262.   GdkFont *font;
  4263.   gint font_index;
  4264.   gint size_type;
  4265.   gint foundry;
  4266.   gint weight;
  4267.   gint slant;
  4268.   gint set_width;
  4269.   gint spacing;
  4270. };
  4271. </STRUCT>
  4272. <FUNCTION>
  4273. <NAME>gnome_font_selector_get_type</NAME>
  4274. <RETURNS>guint  </RETURNS>
  4275. void
  4276. </FUNCTION>
  4277. <FUNCTION>
  4278. <NAME>gnome_font_selector_new</NAME>
  4279. <RETURNS>GtkWidget  *</RETURNS>
  4280. void
  4281. </FUNCTION>
  4282. <FUNCTION>
  4283. <NAME>gnome_font_selector_get_selected</NAME>
  4284. <RETURNS>gchar  *</RETURNS>
  4285. GnomeFontSelector *text_tool
  4286. </FUNCTION>
  4287. <FUNCTION>
  4288. <NAME>gnome_font_select</NAME>
  4289. <RETURNS>gchar  *</RETURNS>
  4290. void
  4291. </FUNCTION>
  4292. <FUNCTION>
  4293. <NAME>gnome_font_select_with_default</NAME>
  4294. <RETURNS>gchar  *</RETURNS>
  4295. const gchar *
  4296. </FUNCTION>
  4297. <FUNCTION>
  4298. <NAME>gnome_parse_geometry</NAME>
  4299. <RETURNS>gboolean  </RETURNS>
  4300. const gchar *geometry, gint *xpos, gint *ypos,gint *width, gint *height
  4301. </FUNCTION>
  4302. <FUNCTION>
  4303. <NAME>gnome_geometry_string</NAME>
  4304. <RETURNS>gchar  *</RETURNS>
  4305. GdkWindow * window
  4306. </FUNCTION>
  4307. <STRUCT>
  4308. <NAME>GnomeGuru</NAME>
  4309. </STRUCT>
  4310. <STRUCT>
  4311. <NAME>GnomeGuruClass</NAME>
  4312. </STRUCT>
  4313. <MACRO>
  4314. <NAME>GNOME_GURU</NAME>
  4315. #define GNOME_GURU(obj) GTK_CHECK_CAST (obj, gnome_guru_get_type (), GnomeGuru)
  4316. </MACRO>
  4317. <MACRO>
  4318. <NAME>GNOME_GURU_CLASS</NAME>
  4319. #define GNOME_GURU_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_guru_get_type (), GnomeGuruClass)
  4320. </MACRO>
  4321. <MACRO>
  4322. <NAME>GNOME_IS_GURU</NAME>
  4323. #define GNOME_IS_GURU(obj)  GTK_CHECK_TYPE (obj, gnome_guru_get_type ())
  4324. </MACRO>
  4325. <STRUCT>
  4326. <NAME>GnomeGuru</NAME>
  4327. struct GnomeGuru {
  4328.   GtkVBox vbox;
  4329.  
  4330.   /* all private, don't touch it. */
  4331.  
  4332.   GtkWidget * graphic;
  4333.  
  4334.   GList * pages;
  4335.  
  4336.   struct _GnomeGuruPage* current_page;
  4337.  
  4338.   GtkWidget * next;
  4339.   GtkWidget * back;
  4340.   GtkWidget * finish;
  4341.   GtkWidget * page_title;
  4342.   GtkWidget * page_box;
  4343.   GtkWidget * buttonbox;
  4344.  
  4345.   guint has_dialog : 1;
  4346. };
  4347. </STRUCT>
  4348. <FUNCTION>
  4349. <NAME>gnome_guru_get_type</NAME>
  4350. <RETURNS>guint  </RETURNS>
  4351. void
  4352. </FUNCTION>
  4353. <FUNCTION>
  4354. <NAME>gnome_guru_new</NAME>
  4355. <RETURNS>GtkWidget  *</RETURNS>
  4356. const gchar * name,GtkWidget   * graphic,GnomeDialog * dialog
  4357. </FUNCTION>
  4358. <FUNCTION>
  4359. <NAME>gnome_guru_construct</NAME>
  4360. <RETURNS>void  </RETURNS>
  4361. GnomeGuru   * guru,const gchar * name,GtkWidget   * graphic,GnomeDialog * dialog
  4362. </FUNCTION>
  4363. <FUNCTION>
  4364. <NAME>gnome_guru_append_page</NAME>
  4365. <RETURNS>void  </RETURNS>
  4366. GnomeGuru   * guru,const gchar * name,GtkWidget   * widget
  4367. </FUNCTION>
  4368. <FUNCTION>
  4369. <NAME>gnome_guru_next_set_sensitive</NAME>
  4370. <RETURNS>void  </RETURNS>
  4371. GnomeGuru   * guru,gboolean      sensitivity
  4372. </FUNCTION>
  4373. <FUNCTION>
  4374. <NAME>gnome_guru_back_set_sensitive</NAME>
  4375. <RETURNS>void  </RETURNS>
  4376. GnomeGuru   * guru,gboolean      sensitivity
  4377. </FUNCTION>
  4378. <FUNCTION>
  4379. <NAME>gnome_guru_current_page</NAME>
  4380. <RETURNS>GtkWidget  *</RETURNS>
  4381. GnomeGuru   * guru
  4382. </FUNCTION>
  4383. <MACRO>
  4384. <NAME>GNOME_HREF</NAME>
  4385. #define GNOME_HREF(obj) GTK_CHECK_CAST(obj, gnome_href_get_type(), GnomeHRef)
  4386. </MACRO>
  4387. <MACRO>
  4388. <NAME>GNOME_HREF_CLASS</NAME>
  4389. #define GNOME_HREF_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, gnome_href_get_type, GnomeHRefClass)
  4390. </MACRO>
  4391. <MACRO>
  4392. <NAME>GNOME_IS_HREF</NAME>
  4393. #define GNOME_IS_HREF(obj) GTK_CHECK_TYPE(obj, gnome_href_get_type())
  4394. </MACRO>
  4395. <STRUCT>
  4396. <NAME>GnomeHRef</NAME>
  4397. </STRUCT>
  4398. <STRUCT>
  4399. <NAME>GnomeHRefClass</NAME>
  4400. </STRUCT>
  4401. <STRUCT>
  4402. <NAME>GnomeHRef</NAME>
  4403. struct GnomeHRef {
  4404.   GtkButton button;
  4405.  
  4406.   gchar *url;
  4407.   GtkWidget *label;
  4408. };
  4409. </STRUCT>
  4410. <FUNCTION>
  4411. <NAME>gnome_href_get_type</NAME>
  4412. <RETURNS>guint  </RETURNS>
  4413. void
  4414. </FUNCTION>
  4415. <FUNCTION>
  4416. <NAME>gnome_href_new</NAME>
  4417. <RETURNS>GtkWidget  *</RETURNS>
  4418. const gchar *url, const gchar *label
  4419. </FUNCTION>
  4420. <FUNCTION>
  4421. <NAME>gnome_href_set_url</NAME>
  4422. <RETURNS>void  </RETURNS>
  4423. GnomeHRef *href, const gchar *url
  4424. </FUNCTION>
  4425. <FUNCTION>
  4426. <NAME>gnome_href_get_url</NAME>
  4427. <RETURNS>gchar  *</RETURNS>
  4428. GnomeHRef *href
  4429. </FUNCTION>
  4430. <FUNCTION>
  4431. <NAME>gnome_href_set_label</NAME>
  4432. <RETURNS>void  </RETURNS>
  4433. GnomeHRef *href, const gchar *label
  4434. </FUNCTION>
  4435. <FUNCTION>
  4436. <NAME>gnome_href_get_label</NAME>
  4437. <RETURNS>gchar  *</RETURNS>
  4438. GnomeHRef *href
  4439. </FUNCTION>
  4440. <FUNCTION>
  4441. <NAME>gnome_ice_init</NAME>
  4442. <RETURNS>void  </RETURNS>
  4443. void
  4444. </FUNCTION>
  4445. <MACRO>
  4446. <NAME>GNOME_ICON_ENTRY</NAME>
  4447. #define GNOME_ICON_ENTRY(obj)         GTK_CHECK_CAST (obj, gnome_icon_entry_get_type (), GnomeIconEntry)
  4448. </MACRO>
  4449. <MACRO>
  4450. <NAME>GNOME_ICON_ENTRY_CLASS</NAME>
  4451. #define GNOME_ICON_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_icon_entry_get_type (), GnomeIconEntryClass)
  4452. </MACRO>
  4453. <MACRO>
  4454. <NAME>GNOME_IS_ICON_ENTRY</NAME>
  4455. #define GNOME_IS_ICON_ENTRY(obj)      GTK_CHECK_TYPE (obj, gnome_icon_entry_get_type ())
  4456. </MACRO>
  4457. <STRUCT>
  4458. <NAME>GnomeIconEntry</NAME>
  4459. </STRUCT>
  4460. <STRUCT>
  4461. <NAME>GnomeIconEntryClass</NAME>
  4462. </STRUCT>
  4463. <STRUCT>
  4464. <NAME>GnomeIconEntry</NAME>
  4465. struct GnomeIconEntry {
  4466.     GtkVBox vbox;
  4467.     
  4468.     GtkWidget *fentry;
  4469.  
  4470.     GtkWidget *pickbutton;
  4471.     
  4472.     GtkWidget *pick_dialog;
  4473.     char *pick_dialog_dir;
  4474. };
  4475. </STRUCT>
  4476. <FUNCTION>
  4477. <NAME>gnome_icon_entry_get_type</NAME>
  4478. <RETURNS>guint  </RETURNS>
  4479. void
  4480. </FUNCTION>
  4481. <FUNCTION>
  4482. <NAME>gnome_icon_entry_new</NAME>
  4483. <RETURNS>GtkWidget  *</RETURNS>
  4484. char *history_id,char *browse_dialog_title
  4485. </FUNCTION>
  4486. <FUNCTION>
  4487. <NAME>gnome_icon_entry_set_pixmap_subdir</NAME>
  4488. <RETURNS>void  </RETURNS>
  4489. GnomeIconEntry *ientry,const char *subdir
  4490. </FUNCTION>
  4491. <FUNCTION>
  4492. <NAME>gnome_icon_entry_set_icon</NAME>
  4493. <RETURNS>void  </RETURNS>
  4494. GnomeIconEntry *ientry,const char *filename
  4495. </FUNCTION>
  4496. <FUNCTION>
  4497. <NAME>gnome_icon_entry_gnome_file_entry</NAME>
  4498. <RETURNS>GtkWidget  *</RETURNS>
  4499. GnomeIconEntry *ientry
  4500. </FUNCTION>
  4501. <FUNCTION>
  4502. <NAME>gnome_icon_entry_gnome_entry</NAME>
  4503. <RETURNS>GtkWidget  *</RETURNS>
  4504. GnomeIconEntry *ientry
  4505. </FUNCTION>
  4506. <FUNCTION>
  4507. <NAME>gnome_icon_entry_gtk_entry</NAME>
  4508. <RETURNS>GtkWidget  *</RETURNS>
  4509. GnomeIconEntry *ientry
  4510. </FUNCTION>
  4511. <FUNCTION>
  4512. <NAME>gnome_icon_entry_get_filename</NAME>
  4513. <RETURNS>char       *</RETURNS>
  4514. GnomeIconEntry *ientry
  4515. </FUNCTION>
  4516. <MACRO>
  4517. <NAME>GNOME_ICON_TEXT_ITEM</NAME>
  4518. #define GNOME_ICON_TEXT_ITEM(obj)     (GTK_CHECK_CAST((obj), \
  4519.         gnome_icon_text_item_get_type (), GnomeIconTextItem))
  4520. </MACRO>
  4521. <MACRO>
  4522. <NAME>GNOME_ICON_TEXT_ITEM_CLASS</NAME>
  4523. #define GNOME_ICON_TEXT_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST ((k),\
  4524.     gnome_icon_text_item_get_type ()))
  4525. </MACRO>
  4526. <MACRO>
  4527. <NAME>GNOME_IS_ICON_TEXT_ITEM</NAME>
  4528. #define GNOME_IS_ICON_TEXT_ITEM(o)    (GTK_CHECK_TYPE((o), \
  4529.     gnome_icon_text_item_get_type ()))
  4530. </MACRO>
  4531. <STRUCT>
  4532. <NAME>GnomeIconTextItem</NAME>
  4533. typedef struct {
  4534.     GnomeCanvasItem canvas_item;
  4535.  
  4536.     /* Size and maximum allowed width */
  4537.     int x, y;
  4538.     int width;
  4539.  
  4540.     /* Font name */
  4541.     char *fontname;
  4542.  
  4543.     /* Private data */
  4544.     gpointer priv; /* was GtkEntry *entry */
  4545.     gpointer pad1; /* was GtkWidget *entry_top */
  4546.     gpointer pad2; /* was GdkFont *font */
  4547.  
  4548.     /* Actual text */
  4549.     char *text;
  4550.  
  4551.     /* Text layout information */
  4552.     GnomeIconTextInfo *ti;
  4553.  
  4554.     /* Whether the text is being edited */
  4555.     unsigned int editing : 1;
  4556.  
  4557.     /* Whether the text item is selected */
  4558.     unsigned int selected : 1;
  4559.  
  4560.     unsigned int pad3; /* was unsigned int unselected_click : 1 */
  4561.  
  4562.     /* Whether the user is select-dragging a block of text */
  4563.     unsigned int selecting : 1;
  4564.  
  4565.     /* Whether the text is editable */
  4566.     unsigned int is_editable : 1;
  4567.  
  4568.     /* Whether the text is allocated by us (FALSE if allocated by the client) */
  4569.     unsigned int is_text_allocated : 1;
  4570. } GnomeIconTextItem;
  4571. </STRUCT>
  4572. <FUNCTION>
  4573. <NAME>gnome_icon_text_item_get_type</NAME>
  4574. <RETURNS>GtkType  </RETURNS>
  4575. void
  4576. </FUNCTION>
  4577. <FUNCTION>
  4578. <NAME>gnome_icon_text_item_configure</NAME>
  4579. <RETURNS>void  </RETURNS>
  4580. GnomeIconTextItem *iti,int                x,int                y,int                width,const char        *fontname,const char        *text,gboolean           is_editable,gboolean           is_static
  4581. </FUNCTION>
  4582. <FUNCTION>
  4583. <NAME>gnome_icon_text_item_setxy</NAME>
  4584. <RETURNS>void  </RETURNS>
  4585. GnomeIconTextItem *iti,int                x,int                y
  4586. </FUNCTION>
  4587. <FUNCTION>
  4588. <NAME>gnome_icon_text_item_select</NAME>
  4589. <RETURNS>void  </RETURNS>
  4590. GnomeIconTextItem *iti,int                sel
  4591. </FUNCTION>
  4592. <FUNCTION>
  4593. <NAME>gnome_icon_text_item_get_text</NAME>
  4594. <RETURNS>char     *</RETURNS>
  4595. GnomeIconTextItem *iti
  4596. </FUNCTION>
  4597. <FUNCTION>
  4598. <NAME>gnome_icon_text_item_stop_editing</NAME>
  4599. <RETURNS>void  </RETURNS>
  4600. GnomeIconTextItem *iti,gboolean           accept
  4601. </FUNCTION>
  4602. <MACRO>
  4603. <NAME>GNOME_ICON_LIST</NAME>
  4604. #define GNOME_ICON_LIST(obj)     GTK_CHECK_CAST (obj, gnome_icon_list_get_type (), GnomeIconList)
  4605. </MACRO>
  4606. <MACRO>
  4607. <NAME>GNOME_ICON_LIST_CLASS</NAME>
  4608. #define GNOME_ICON_LIST_CLASS(k) GTK_CHECK_CLASS_CAST (k, gnome_icon_list_get_type (), GnomeIconListClass)
  4609. </MACRO>
  4610. <MACRO>
  4611. <NAME>GNOME_IS_ICON_LIST</NAME>
  4612. #define GNOME_IS_ICON_LIST(obj)  GTK_CHECK_TYPE (obj, gnome_icon_list_get_type ())
  4613. </MACRO>
  4614. <ENUM>
  4615. <NAME>GnomeIconListMode</NAME>
  4616. typedef enum {
  4617.     GNOME_ICON_LIST_ICONS,
  4618.     GNOME_ICON_LIST_TEXT_BELOW,
  4619.     GNOME_ICON_LIST_TEXT_RIGHT
  4620. } GnomeIconListMode;
  4621. </ENUM>
  4622. <STRUCT>
  4623. <NAME>GnomeIconList</NAME>
  4624. typedef struct {
  4625.     GnomeCanvas canvas;
  4626.  
  4627.     /* Private data */
  4628.     gpointer priv; /* was GtkAdjustment *adj */
  4629.  
  4630.     gpointer pad1; /* was GtkAdjustment *hadj */
  4631.  
  4632.     /* Number of icons in the list */
  4633.     int icons;
  4634.  
  4635.     gpointer pad2; /* was GList *icon_list */
  4636.     int pad3; /* was int frozen */
  4637.     int pad4; /* was int dirty */
  4638.     int pad5; /* was int row_spacing */
  4639.     int pad6; /* was int col_spacing */
  4640.     int pad7; /* was int text_spacing */
  4641.     int pad8; /* was int icon_border */
  4642.     gpointer pad9; /* was char *separators */
  4643.     GnomeIconListMode pad10; /* was GnomeIconListMode mode */
  4644.  
  4645.     GtkSelectionMode pad11; /* was GtkSelectionMode selection_mode */
  4646.  
  4647.     /* A list of integers with the indices of the currently selected icons */
  4648.     GList *selection;
  4649.  
  4650.     gpointer pad12; /* was GList *preserve_selection */
  4651.     int pad13; /* was int icon_width */
  4652.     unsigned int pad14 : 1; /* was unsigned int is_editable : 1 */
  4653.     unsigned int pad15 : 1; /* was unsigned int static_text : 1 */
  4654.     int pad16; /* was int last_selected */
  4655.     gpointer pad17; /* was void *last_clicked */
  4656.     int pad18; /* was int timer_tag */
  4657.     int pad19; /* was int value_diff */
  4658.     gdouble pad20; /* was gdouble event_last_x */
  4659.     gdouble pad21; /* was gdouble event_last_y */
  4660.     gpointer pad22; /* was GList *lines */
  4661.     int pad23; /* was int total_height */
  4662.     double pad24; /* was double sel_start_x */
  4663.     double pad25; /* was double sel_start_y */
  4664.     gpointer pad26; /* was GnomeCanvasItem *sel_rect */
  4665. } GnomeIconList;
  4666. </STRUCT>
  4667. <MACRO>
  4668. <NAME>GNOME_ICON_LIST_IS_EDITABLE</NAME>
  4669. #define GNOME_ICON_LIST_IS_EDITABLE 1
  4670. </MACRO>
  4671. <MACRO>
  4672. <NAME>GNOME_ICON_LIST_STATIC_TEXT</NAME>
  4673. #define GNOME_ICON_LIST_STATIC_TEXT 2
  4674. </MACRO>
  4675. <FUNCTION>
  4676. <NAME>gnome_icon_list_get_type</NAME>
  4677. <RETURNS>guint  </RETURNS>
  4678. void
  4679. </FUNCTION>
  4680. <FUNCTION>
  4681. <NAME>gnome_icon_list_new</NAME>
  4682. <RETURNS>GtkWidget      *</RETURNS>
  4683. guint         icon_width,GtkAdjustment *adj,int           flags
  4684. </FUNCTION>
  4685. <FUNCTION>
  4686. <NAME>gnome_icon_list_new_flags</NAME>
  4687. <RETURNS>GtkWidget      *</RETURNS>
  4688. guint         icon_width,GtkAdjustment *adj,int           flags
  4689. </FUNCTION>
  4690. <FUNCTION>
  4691. <NAME>gnome_icon_list_construct</NAME>
  4692. <RETURNS>void  </RETURNS>
  4693. GnomeIconList *gil,guint icon_width,GtkAdjustment *adj,int flags
  4694. </FUNCTION>
  4695. <FUNCTION>
  4696. <NAME>gnome_icon_list_set_hadjustment</NAME>
  4697. <RETURNS>void  </RETURNS>
  4698. GnomeIconList *gil,GtkAdjustment *hadj
  4699. </FUNCTION>
  4700. <FUNCTION>
  4701. <NAME>gnome_icon_list_set_vadjustment</NAME>
  4702. <RETURNS>void  </RETURNS>
  4703. GnomeIconList *gil,GtkAdjustment *vadj
  4704. </FUNCTION>
  4705. <FUNCTION>
  4706. <NAME>gnome_icon_list_freeze</NAME>
  4707. <RETURNS>void  </RETURNS>
  4708. GnomeIconList *gil
  4709. </FUNCTION>
  4710. <FUNCTION>
  4711. <NAME>gnome_icon_list_thaw</NAME>
  4712. <RETURNS>void  </RETURNS>
  4713. GnomeIconList *gil
  4714. </FUNCTION>
  4715. <FUNCTION>
  4716. <NAME>gnome_icon_list_insert</NAME>
  4717. <RETURNS>void  </RETURNS>
  4718. GnomeIconList *gil,int pos, const char *icon_filename,const char *text
  4719. </FUNCTION>
  4720. <FUNCTION>
  4721. <NAME>gnome_icon_list_insert_imlib</NAME>
  4722. <RETURNS>void  </RETURNS>
  4723. GnomeIconList *gil,int pos, GdkImlibImage *im,const char *text
  4724. </FUNCTION>
  4725. <FUNCTION>
  4726. <NAME>gnome_icon_list_append</NAME>
  4727. <RETURNS>int  </RETURNS>
  4728. GnomeIconList *gil,const char *icon_filename,const char *text
  4729. </FUNCTION>
  4730. <FUNCTION>
  4731. <NAME>gnome_icon_list_append_imlib</NAME>
  4732. <RETURNS>int  </RETURNS>
  4733. GnomeIconList *gil,GdkImlibImage *im,char *text
  4734. </FUNCTION>
  4735. <FUNCTION>
  4736. <NAME>gnome_icon_list_clear</NAME>
  4737. <RETURNS>void  </RETURNS>
  4738. GnomeIconList *gil
  4739. </FUNCTION>
  4740. <FUNCTION>
  4741. <NAME>gnome_icon_list_remove</NAME>
  4742. <RETURNS>void  </RETURNS>
  4743. GnomeIconList *gil, int pos
  4744. </FUNCTION>
  4745. <FUNCTION>
  4746. <NAME>gnome_icon_list_set_selection_mode</NAME>
  4747. <RETURNS>void  </RETURNS>
  4748. GnomeIconList *gil,GtkSelectionMode mode
  4749. </FUNCTION>
  4750. <FUNCTION>
  4751. <NAME>gnome_icon_list_select_icon</NAME>
  4752. <RETURNS>void  </RETURNS>
  4753. GnomeIconList *gil,int idx
  4754. </FUNCTION>
  4755. <FUNCTION>
  4756. <NAME>gnome_icon_list_unselect_icon</NAME>
  4757. <RETURNS>void  </RETURNS>
  4758. GnomeIconList *gil,int pos
  4759. </FUNCTION>
  4760. <FUNCTION>
  4761. <NAME>gnome_icon_list_unselect_all</NAME>
  4762. <RETURNS>int  </RETURNS>
  4763. GnomeIconList *gil,GdkEvent *event, gpointer keep
  4764. </FUNCTION>
  4765. <FUNCTION>
  4766. <NAME>gnome_icon_list_set_icon_width</NAME>
  4767. <RETURNS>void  </RETURNS>
  4768. GnomeIconList *gil,int w
  4769. </FUNCTION>
  4770. <FUNCTION>
  4771. <NAME>gnome_icon_list_set_row_spacing</NAME>
  4772. <RETURNS>void  </RETURNS>
  4773. GnomeIconList *gil,int pixels
  4774. </FUNCTION>
  4775. <FUNCTION>
  4776. <NAME>gnome_icon_list_set_col_spacing</NAME>
  4777. <RETURNS>void  </RETURNS>
  4778. GnomeIconList *gil,int pixels
  4779. </FUNCTION>
  4780. <FUNCTION>
  4781. <NAME>gnome_icon_list_set_text_spacing</NAME>
  4782. <RETURNS>void  </RETURNS>
  4783. GnomeIconList *gil,int pixels
  4784. </FUNCTION>
  4785. <FUNCTION>
  4786. <NAME>gnome_icon_list_set_icon_border</NAME>
  4787. <RETURNS>void  </RETURNS>
  4788. GnomeIconList *gil,int pixels
  4789. </FUNCTION>
  4790. <FUNCTION>
  4791. <NAME>gnome_icon_list_set_separators</NAME>
  4792. <RETURNS>void  </RETURNS>
  4793. GnomeIconList *gil,const char *sep
  4794. </FUNCTION>
  4795. <FUNCTION>
  4796. <NAME>gnome_icon_list_set_icon_data</NAME>
  4797. <RETURNS>void  </RETURNS>
  4798. GnomeIconList *gil,int pos, gpointer data
  4799. </FUNCTION>
  4800. <FUNCTION>
  4801. <NAME>gnome_icon_list_set_icon_data_full</NAME>
  4802. <RETURNS>void  </RETURNS>
  4803. GnomeIconList *gil,int pos, gpointer data,GtkDestroyNotify destroy
  4804. </FUNCTION>
  4805. <FUNCTION>
  4806. <NAME>gnome_icon_list_find_icon_from_data</NAME>
  4807. <RETURNS>int  </RETURNS>
  4808. GnomeIconList *gil,gpointer data
  4809. </FUNCTION>
  4810. <FUNCTION>
  4811. <NAME>gnome_icon_list_get_icon_data</NAME>
  4812. <RETURNS>gpointer  </RETURNS>
  4813. GnomeIconList *gil,int pos
  4814. </FUNCTION>
  4815. <FUNCTION>
  4816. <NAME>gnome_icon_list_moveto</NAME>
  4817. <RETURNS>void  </RETURNS>
  4818. GnomeIconList *gil,int pos, double yalign
  4819. </FUNCTION>
  4820. <FUNCTION>
  4821. <NAME>gnome_icon_list_icon_is_visible</NAME>
  4822. <RETURNS>GtkVisibility  </RETURNS>
  4823. GnomeIconList *gil,int pos
  4824. </FUNCTION>
  4825. <FUNCTION>
  4826. <NAME>gnome_icon_list_get_icon_at</NAME>
  4827. <RETURNS>int  </RETURNS>
  4828. GnomeIconList *gil, int x, int y
  4829. </FUNCTION>
  4830. <FUNCTION>
  4831. <NAME>gnome_icon_list_get_items_per_line</NAME>
  4832. <RETURNS>int  </RETURNS>
  4833. GnomeIconList *gil
  4834. </FUNCTION>
  4835. <STRUCT>
  4836. <NAME>GnomeIconSelection</NAME>
  4837. </STRUCT>
  4838. <STRUCT>
  4839. <NAME>GnomeIconSelectionClass</NAME>
  4840. </STRUCT>
  4841. <MACRO>
  4842. <NAME>GNOME_ICON_SELECTION</NAME>
  4843. #define GNOME_ICON_SELECTION(obj) GTK_CHECK_CAST (obj, gnome_icon_selection_get_type (), GnomeIconSelection)
  4844. </MACRO>
  4845. <MACRO>
  4846. <NAME>GNOME_ICON_SELECTION_CLASS</NAME>
  4847. #define GNOME_ICON_SELECTION_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_icon_selection_get_type (), GnomeIconSelectionClass)
  4848. </MACRO>
  4849. <MACRO>
  4850. <NAME>GNOME_IS_ICON_SELECTION</NAME>
  4851. #define GNOME_IS_ICON_SELECTION(obj)  GTK_CHECK_TYPE (obj, gnome_icon_selection_get_type ())
  4852. </MACRO>
  4853. <STRUCT>
  4854. <NAME>GnomeIconSelection</NAME>
  4855. struct GnomeIconSelection {
  4856.   GtkVBox vbox;
  4857.  
  4858.   GtkWidget * box;
  4859.  
  4860.   GtkWidget * gil;
  4861.  
  4862.   GList * file_list;
  4863.   
  4864.   int stop_loading; /* a flag set to stop the loading of images in midprocess */
  4865. };
  4866. </STRUCT>
  4867. <FUNCTION>
  4868. <NAME>gnome_icon_selection_get_type</NAME>
  4869. <RETURNS>guint  </RETURNS>
  4870. void
  4871. </FUNCTION>
  4872. <FUNCTION>
  4873. <NAME>gnome_icon_selection_new</NAME>
  4874. <RETURNS>GtkWidget  *</RETURNS>
  4875. void
  4876. </FUNCTION>
  4877. <FUNCTION>
  4878. <NAME>gnome_icon_selection_add_defaults</NAME>
  4879. <RETURNS>void  </RETURNS>
  4880. GnomeIconSelection * gis
  4881. </FUNCTION>
  4882. <FUNCTION>
  4883. <NAME>gnome_icon_selection_add_directory</NAME>
  4884. <RETURNS>void  </RETURNS>
  4885. GnomeIconSelection * gis,const gchar * dir
  4886. </FUNCTION>
  4887. <FUNCTION>
  4888. <NAME>gnome_icon_selection_show_icons</NAME>
  4889. <RETURNS>void  </RETURNS>
  4890. GnomeIconSelection * gis
  4891. </FUNCTION>
  4892. <FUNCTION>
  4893. <NAME>gnome_icon_selection_clear</NAME>
  4894. <RETURNS>void  </RETURNS>
  4895. GnomeIconSelection * gis,gboolean not_shown
  4896. </FUNCTION>
  4897. <FUNCTION>
  4898. <NAME>gnome_icon_selection_get_icon</NAME>
  4899. <RETURNS>const gchar  *</RETURNS>
  4900. GnomeIconSelection * gis,gboolean full_path
  4901. </FUNCTION>
  4902. <FUNCTION>
  4903. <NAME>gnome_icon_selection_select_icon</NAME>
  4904. <RETURNS>void  </RETURNS>
  4905. GnomeIconSelection * gis,const gchar * filename
  4906. </FUNCTION>
  4907. <FUNCTION>
  4908. <NAME>gnome_icon_selection_stop_loading</NAME>
  4909. <RETURNS>void  </RETURNS>
  4910. GnomeIconSelection * gis
  4911. </FUNCTION>
  4912. <STRUCT>
  4913. <NAME>GnomeIconTextInfoRow</NAME>
  4914. typedef struct {
  4915.     char *text;
  4916.     int width;
  4917.     GdkWChar *text_wc;    /* text in wide characters */
  4918.     int text_length;    /* number of characters */
  4919. } GnomeIconTextInfoRow;
  4920. </STRUCT>
  4921. <STRUCT>
  4922. <NAME>GnomeIconTextInfo</NAME>
  4923. typedef struct {
  4924.     GList *rows;
  4925.     GdkFont *font;
  4926.     int width;
  4927.     int height;
  4928.     int baseline_skip;
  4929. } GnomeIconTextInfo;
  4930. </STRUCT>
  4931. <FUNCTION>
  4932. <NAME>gnome_icon_layout_text</NAME>
  4933. <RETURNS>GnomeIconTextInfo  *</RETURNS>
  4934. GdkFont *font, char *text,char *separators, int max_width,int confine
  4935. </FUNCTION>
  4936. <FUNCTION>
  4937. <NAME>gnome_icon_paint_text</NAME>
  4938. <RETURNS>void  </RETURNS>
  4939. GnomeIconTextInfo *ti,GdkDrawable *drawable, GdkGC *gc,int x, int y,GtkJustification just
  4940. </FUNCTION>
  4941. <FUNCTION>
  4942. <NAME>gnome_icon_text_info_free</NAME>
  4943. <RETURNS>void  </RETURNS>
  4944. GnomeIconTextInfo *ti
  4945. </FUNCTION>
  4946. <FUNCTION>
  4947. <NAME>gnome_init</NAME>
  4948. <RETURNS>int  </RETURNS>
  4949. const char *app_id, const char *app_version,int argc, char **argv
  4950. </FUNCTION>
  4951. <FUNCTION>
  4952. <NAME>gnome_init_with_popt_table</NAME>
  4953. <RETURNS>int  </RETURNS>
  4954. const char *app_id,const char *app_version,int argc, char **argv,const struct poptOption *options,int flags,poptContext *return_ctx
  4955. </FUNCTION>
  4956. <STRUCT>
  4957. <NAME>GnomeLess</NAME>
  4958. </STRUCT>
  4959. <STRUCT>
  4960. <NAME>GnomeLessClass</NAME>
  4961. </STRUCT>
  4962. <MACRO>
  4963. <NAME>GNOME_LESS</NAME>
  4964. #define GNOME_LESS(obj)          GTK_CHECK_CAST (obj, gnome_less_get_type (), GnomeLess)
  4965. </MACRO>
  4966. <MACRO>
  4967. <NAME>GNOME_LESS_CLASS</NAME>
  4968. #define GNOME_LESS_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_less_get_type (), GnomeLessClass)
  4969. </MACRO>
  4970. <MACRO>
  4971. <NAME>GNOME_IS_LESS</NAME>
  4972. #define GNOME_IS_LESS(obj)       GTK_CHECK_TYPE (obj, gnome_less_get_type ())
  4973. </MACRO>
  4974. <STRUCT>
  4975. <NAME>GnomeLess</NAME>
  4976. struct GnomeLess {
  4977.   GtkVBox vbox;
  4978.  
  4979.   GtkText * text; 
  4980.  
  4981.   GtkMenu * popup;
  4982.  
  4983.   GdkFont * font;  /* font that goes to gtk_text_insert_text call,
  4984.               can be NULL */
  4985. };
  4986. </STRUCT>
  4987. <FUNCTION>
  4988. <NAME>gnome_less_get_type</NAME>
  4989. <RETURNS>guint  </RETURNS>
  4990. void
  4991. </FUNCTION>
  4992. <FUNCTION>
  4993. <NAME>gnome_less_new</NAME>
  4994. <RETURNS>GtkWidget  *</RETURNS>
  4995. void
  4996. </FUNCTION>
  4997. <FUNCTION>
  4998. <NAME>gnome_less_clear</NAME>
  4999. <RETURNS>void  </RETURNS>
  5000. GnomeLess * gl
  5001. </FUNCTION>
  5002. <FUNCTION>
  5003. <NAME>gnome_less_show_file</NAME>
  5004. <RETURNS>gboolean  </RETURNS>
  5005. GnomeLess * gl, const gchar * path
  5006. </FUNCTION>
  5007. <FUNCTION>
  5008. <NAME>gnome_less_show_command</NAME>
  5009. <RETURNS>gboolean  </RETURNS>
  5010. GnomeLess * gl, const gchar * command_line
  5011. </FUNCTION>
  5012. <FUNCTION>
  5013. <NAME>gnome_less_show_string</NAME>
  5014. <RETURNS>void  </RETURNS>
  5015. GnomeLess * gl, const gchar * s
  5016. </FUNCTION>
  5017. <FUNCTION>
  5018. <NAME>gnome_less_show_filestream</NAME>
  5019. <RETURNS>gboolean  </RETURNS>
  5020. GnomeLess * gl, FILE * f
  5021. </FUNCTION>
  5022. <FUNCTION>
  5023. <NAME>gnome_less_show_fd</NAME>
  5024. <RETURNS>gboolean  </RETURNS>
  5025. GnomeLess * gl, int file_descriptor
  5026. </FUNCTION>
  5027. <FUNCTION>
  5028. <NAME>gnome_less_write_file</NAME>
  5029. <RETURNS>gboolean  </RETURNS>
  5030. GnomeLess * gl, const gchar * path
  5031. </FUNCTION>
  5032. <FUNCTION>
  5033. <NAME>gnome_less_write_fd</NAME>
  5034. <RETURNS>gboolean  </RETURNS>
  5035. GnomeLess * gl, int fd
  5036. </FUNCTION>
  5037. <FUNCTION>
  5038. <NAME>gnome_less_set_font</NAME>
  5039. <RETURNS>void  </RETURNS>
  5040. GnomeLess * gl, GdkFont * font
  5041. </FUNCTION>
  5042. <FUNCTION>
  5043. <NAME>gnome_less_set_fixed_font</NAME>
  5044. <RETURNS>void  </RETURNS>
  5045. GnomeLess * gl, gboolean fixed
  5046. </FUNCTION>
  5047. <FUNCTION>
  5048. <NAME>gnome_less_reshow</NAME>
  5049. <RETURNS>void  </RETURNS>
  5050. GnomeLess * gl
  5051. </FUNCTION>
  5052. <FUNCTION>
  5053. <NAME>gnome_less_fixed_font</NAME>
  5054. <RETURNS>void  </RETURNS>
  5055. GnomeLess * gl
  5056. </FUNCTION>
  5057. <MACRO>
  5058. <NAME>GNOME_MDI_CHILD</NAME>
  5059. #define GNOME_MDI_CHILD(obj)          GTK_CHECK_CAST (obj, gnome_mdi_child_get_type (), GnomeMDIChild)
  5060. </MACRO>
  5061. <MACRO>
  5062. <NAME>GNOME_MDI_CHILD_CLASS</NAME>
  5063. #define GNOME_MDI_CHILD_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_mdi_child_get_type (), GnomeMDIChildClass)
  5064. </MACRO>
  5065. <MACRO>
  5066. <NAME>GNOME_IS_MDI_CHILD</NAME>
  5067. #define GNOME_IS_MDI_CHILD(obj)       GTK_CHECK_TYPE (obj, gnome_mdi_child_get_type ())
  5068. </MACRO>
  5069. <STRUCT>
  5070. <NAME>GnomeMDIChild</NAME>
  5071. </STRUCT>
  5072. <STRUCT>
  5073. <NAME>GnomeMDIChildClass</NAME>
  5074. </STRUCT>
  5075. <STRUCT>
  5076. <NAME>GnomeMDIChild</NAME>
  5077. struct GnomeMDIChild
  5078. {
  5079.     GtkObject object;
  5080.  
  5081.     GtkObject *parent;
  5082.  
  5083.     gchar *name;
  5084.  
  5085.     GList *views;
  5086.  
  5087.     GnomeUIInfo *menu_template;
  5088. };
  5089. </STRUCT>
  5090. <USER_FUNCTION>
  5091. <NAME>GnomeMDIChildViewCreator</NAME>
  5092. <RETURNS>GtkWidget *</RETURNS>
  5093. GnomeMDIChild *, gpointer
  5094. </USER_FUNCTION>
  5095. <USER_FUNCTION>
  5096. <NAME>GnomeMDIChildMenuCreator</NAME>
  5097. <RETURNS>GList *</RETURNS>
  5098. GnomeMDIChild *, GtkWidget *, gpointer
  5099. </USER_FUNCTION>
  5100. <USER_FUNCTION>
  5101. <NAME>GnomeMDIChildConfigFunc</NAME>
  5102. <RETURNS>gchar *</RETURNS>
  5103. GnomeMDIChild *, gpointer
  5104. </USER_FUNCTION>
  5105. <USER_FUNCTION>
  5106. <NAME>GnomeMDIChildLabelFunc</NAME>
  5107. <RETURNS>GtkWidget *</RETURNS>
  5108. GnomeMDIChild *, GtkWidget *, gpointer
  5109. </USER_FUNCTION>
  5110. <FUNCTION>
  5111. <NAME>gnome_mdi_child_get_type</NAME>
  5112. <RETURNS>guint  </RETURNS>
  5113. void
  5114. </FUNCTION>
  5115. <FUNCTION>
  5116. <NAME>gnome_mdi_child_add_view</NAME>
  5117. <RETURNS>GtkWidget      *</RETURNS>
  5118. GnomeMDIChild *mdi_child
  5119. </FUNCTION>
  5120. <FUNCTION>
  5121. <NAME>gnome_mdi_child_remove_view</NAME>
  5122. <RETURNS>void  </RETURNS>
  5123. GnomeMDIChild *mdi_child, GtkWidget *view
  5124. </FUNCTION>
  5125. <FUNCTION>
  5126. <NAME>gnome_mdi_child_set_name</NAME>
  5127. <RETURNS>void  </RETURNS>
  5128. GnomeMDIChild *mdi_child, gchar *name
  5129. </FUNCTION>
  5130. <FUNCTION>
  5131. <NAME>gnome_mdi_child_set_menu_template</NAME>
  5132. <RETURNS>void  </RETURNS>
  5133. GnomeMDIChild *mdi_child, GnomeUIInfo *menu_tmpl
  5134. </FUNCTION>
  5135. <MACRO>
  5136. <NAME>GNOME_MDI_GENERIC_CHILD</NAME>
  5137. #define GNOME_MDI_GENERIC_CHILD(obj)          GTK_CHECK_CAST (obj, gnome_mdi_generic_child_get_type (), GnomeMDIGenericChild)
  5138. </MACRO>
  5139. <MACRO>
  5140. <NAME>GNOME_MDI_GENERIC_CHILD_CLASS</NAME>
  5141. #define GNOME_MDI_GENERIC_CHILD_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_mdi_generic_child_get_type (), GnomeMDIGenericChildClass)
  5142. </MACRO>
  5143. <MACRO>
  5144. <NAME>GNOME_IS_MDI_GENERIC_CHILD</NAME>
  5145. #define GNOME_IS_MDI_GENERIC_CHILD(obj)       GTK_CHECK_TYPE (obj, gnome_mdi_generic_child_get_type ())
  5146. </MACRO>
  5147. <STRUCT>
  5148. <NAME>GnomeMDIGenericChild</NAME>
  5149. </STRUCT>
  5150. <STRUCT>
  5151. <NAME>GnomeMDIGenericChildClass</NAME>
  5152. </STRUCT>
  5153. <STRUCT>
  5154. <NAME>GnomeMDIGenericChild</NAME>
  5155. struct GnomeMDIGenericChild {
  5156.     GnomeMDIChild mdi_child;
  5157.  
  5158.     /* if any of these are set they override the virtual functions
  5159.        in GnomeMDIChildClass. create_view is mandatory, as no default
  5160.        handler is provided, others may be NULL */
  5161.     GnomeMDIChildViewCreator create_view;
  5162.     GnomeMDIChildMenuCreator create_menus;
  5163.     GnomeMDIChildConfigFunc  get_config_string;
  5164.     GnomeMDIChildLabelFunc   set_label;
  5165.  
  5166.     GtkCallbackMarshal create_view_cbm, create_menus_cbm,
  5167.                        get_config_string_cbm, set_label_cbm;
  5168.     GtkDestroyNotify   create_view_dn, create_menus_dn,
  5169.                        get_config_string_dn, set_label_dn;
  5170.     gpointer           create_view_data, create_menus_data,
  5171.                        get_config_string_data, set_label_data;
  5172. };
  5173. </STRUCT>
  5174. <FUNCTION>
  5175. <NAME>gnome_mdi_generic_child_get_type</NAME>
  5176. <RETURNS>guint  </RETURNS>
  5177. void
  5178. </FUNCTION>
  5179. <FUNCTION>
  5180. <NAME>gnome_mdi_generic_child_new</NAME>
  5181. <RETURNS>GnomeMDIGenericChild  *</RETURNS>
  5182. gchar *name
  5183. </FUNCTION>
  5184. <FUNCTION>
  5185. <NAME>gnome_mdi_generic_child_set_view_creator</NAME>
  5186. <RETURNS>void  </RETURNS>
  5187. GnomeMDIGenericChild *child,GnomeMDIChildViewCreator func,gpointer data
  5188. </FUNCTION>
  5189. <FUNCTION>
  5190. <NAME>gnome_mdi_generic_child_set_view_creator_full</NAME>
  5191. <RETURNS>void  </RETURNS>
  5192. GnomeMDIGenericChild *child,GnomeMDIChildViewCreator func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify notify
  5193. </FUNCTION>
  5194. <FUNCTION>
  5195. <NAME>gnome_mdi_generic_child_set_menu_creator</NAME>
  5196. <RETURNS>void  </RETURNS>
  5197. GnomeMDIGenericChild *child,GnomeMDIChildMenuCreator func,gpointer data
  5198. </FUNCTION>
  5199. <FUNCTION>
  5200. <NAME>gnome_mdi_generic_child_set_menu_creator_full</NAME>
  5201. <RETURNS>void  </RETURNS>
  5202. GnomeMDIGenericChild *child,GnomeMDIChildMenuCreator func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify notify
  5203. </FUNCTION>
  5204. <FUNCTION>
  5205. <NAME>gnome_mdi_generic_child_set_config_func</NAME>
  5206. <RETURNS>void  </RETURNS>
  5207. GnomeMDIGenericChild *child,GnomeMDIChildConfigFunc func,gpointer data
  5208. </FUNCTION>
  5209. <FUNCTION>
  5210. <NAME>gnome_mdi_generic_child_set_config_func_full</NAME>
  5211. <RETURNS>void  </RETURNS>
  5212. GnomeMDIGenericChild *child,GnomeMDIChildConfigFunc func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify notify
  5213. </FUNCTION>
  5214. <FUNCTION>
  5215. <NAME>gnome_mdi_generic_child_set_label_func</NAME>
  5216. <RETURNS>void  </RETURNS>
  5217. GnomeMDIGenericChild *child,GnomeMDIChildLabelFunc func,gpointer data
  5218. </FUNCTION>
  5219. <FUNCTION>
  5220. <NAME>gnome_mdi_generic_child_set_label_func_full</NAME>
  5221. <RETURNS>void  </RETURNS>
  5222. GnomeMDIGenericChild *child,GnomeMDIChildLabelFunc func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify notify
  5223. </FUNCTION>
  5224. <USER_FUNCTION>
  5225. <NAME>GnomeMDIChildCreator</NAME>
  5226. <RETURNS>GnomeMDIChild *</RETURNS>
  5227. const gchar *
  5228. </USER_FUNCTION>
  5229. <FUNCTION>
  5230. <NAME>gnome_mdi_restore_state</NAME>
  5231. <RETURNS>gboolean     </RETURNS>
  5232. GnomeMDI *mdi, const char *section,GnomeMDIChildCreator child_create_func
  5233. </FUNCTION>
  5234. <FUNCTION>
  5235. <NAME>gnome_mdi_save_state</NAME>
  5236. <RETURNS>void     </RETURNS>
  5237. GnomeMDI *mdi, const gchar *section
  5238. </FUNCTION>
  5239. <MACRO>
  5240. <NAME>GNOME_MDI</NAME>
  5241. #define GNOME_MDI(obj)          GTK_CHECK_CAST (obj, gnome_mdi_get_type (), GnomeMDI)
  5242. </MACRO>
  5243. <MACRO>
  5244. <NAME>GNOME_MDI_CLASS</NAME>
  5245. #define GNOME_MDI_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_mdi_get_type (), GnomeMDIClass)
  5246. </MACRO>
  5247. <MACRO>
  5248. <NAME>GNOME_IS_MDI</NAME>
  5249. #define GNOME_IS_MDI(obj)       GTK_CHECK_TYPE (obj, gnome_mdi_get_type ())
  5250. </MACRO>
  5251. <STRUCT>
  5252. <NAME>GnomeMDI</NAME>
  5253. </STRUCT>
  5254. <STRUCT>
  5255. <NAME>GnomeMDIClass</NAME>
  5256. </STRUCT>
  5257. <ENUM>
  5258. <NAME>GnomeMDIMode</NAME>
  5259. typedef enum {
  5260.     GNOME_MDI_NOTEBOOK,
  5261.     GNOME_MDI_TOPLEVEL,
  5262.     GNOME_MDI_MODAL,
  5263.     GNOME_MDI_DEFAULT_MODE = 42
  5264. } GnomeMDIMode;
  5265. </ENUM>
  5266. <STRUCT>
  5267. <NAME>GnomeMDI</NAME>
  5268. struct GnomeMDI {
  5269.     GtkObject object;
  5270.  
  5271.     GnomeMDIMode mode;
  5272.  
  5273.     GtkPositionType tab_pos;
  5274.  
  5275.     guint signal_id;
  5276.     gint in_drag : 1;
  5277.  
  5278.     gchar *appname, *title;
  5279.  
  5280.     GnomeUIInfo *menu_template;
  5281.     GnomeUIInfo *toolbar_template;
  5282.  
  5283.     /* probably only one of these would do, but... redundancy rules ;) */
  5284.     GnomeMDIChild *active_child;
  5285.     GtkWidget *active_view;  
  5286.     GnomeApp *active_window;
  5287.  
  5288.     GList *windows;     /* toplevel windows - GnomeApp widgets */
  5289.     GList *children;    /* children - GnomeMDIChild objects*/
  5290.  
  5291.     GSList *registered; /* see comment for gnome_mdi_(un)register() functions below for an explanation. */
  5292.     
  5293.     /* paths for insertion of mdi_child specific menus and mdi_child list menu via
  5294.        gnome-app-helper routines */
  5295.     gchar *child_menu_path; 
  5296.     gchar *child_list_path;
  5297. };
  5298. </STRUCT>
  5299. <FUNCTION>
  5300. <NAME>gnome_mdi_get_type</NAME>
  5301. <RETURNS>guint  </RETURNS>
  5302. void
  5303. </FUNCTION>
  5304. <FUNCTION>
  5305. <NAME>gnome_mdi_new</NAME>
  5306. <RETURNS>GtkObject      *</RETURNS>
  5307. gchar *appname, gchar *title
  5308. </FUNCTION>
  5309. <FUNCTION>
  5310. <NAME>gnome_mdi_set_mode</NAME>
  5311. <RETURNS>void  </RETURNS>
  5312. GnomeMDI *mdi, GnomeMDIMode mode
  5313. </FUNCTION>
  5314. <FUNCTION>
  5315. <NAME>gnome_mdi_set_menubar_template</NAME>
  5316. <RETURNS>void  </RETURNS>
  5317. GnomeMDI *mdi, GnomeUIInfo *menu_tmpl
  5318. </FUNCTION>
  5319. <FUNCTION>
  5320. <NAME>gnome_mdi_set_toolbar_template</NAME>
  5321. <RETURNS>void  </RETURNS>
  5322. GnomeMDI *mdi, GnomeUIInfo *tbar_tmpl
  5323. </FUNCTION>
  5324. <FUNCTION>
  5325. <NAME>gnome_mdi_set_child_menu_path</NAME>
  5326. <RETURNS>void  </RETURNS>
  5327. GnomeMDI *mdi, const gchar *path
  5328. </FUNCTION>
  5329. <FUNCTION>
  5330. <NAME>gnome_mdi_set_child_list_path</NAME>
  5331. <RETURNS>void  </RETURNS>
  5332. GnomeMDI *mdi, const gchar *path
  5333. </FUNCTION>
  5334. <FUNCTION>
  5335. <NAME>gnome_mdi_add_view</NAME>
  5336. <RETURNS>gint  </RETURNS>
  5337. GnomeMDI *mdi, GnomeMDIChild *child
  5338. </FUNCTION>
  5339. <FUNCTION>
  5340. <NAME>gnome_mdi_add_toplevel_view</NAME>
  5341. <RETURNS>gint  </RETURNS>
  5342. GnomeMDI *mdi, GnomeMDIChild *child
  5343. </FUNCTION>
  5344. <FUNCTION>
  5345. <NAME>gnome_mdi_remove_view</NAME>
  5346. <RETURNS>gint  </RETURNS>
  5347. GnomeMDI *mdi, GtkWidget *view, gint force
  5348. </FUNCTION>
  5349. <FUNCTION>
  5350. <NAME>gnome_mdi_get_active_view</NAME>
  5351. <RETURNS>GtkWidget      *</RETURNS>
  5352. GnomeMDI *mdi
  5353. </FUNCTION>
  5354. <FUNCTION>
  5355. <NAME>gnome_mdi_set_active_view</NAME>
  5356. <RETURNS>void  </RETURNS>
  5357. GnomeMDI *mdi, GtkWidget *view
  5358. </FUNCTION>
  5359. <FUNCTION>
  5360. <NAME>gnome_mdi_add_child</NAME>
  5361. <RETURNS>gint  </RETURNS>
  5362. GnomeMDI *mdi, GnomeMDIChild *child
  5363. </FUNCTION>
  5364. <FUNCTION>
  5365. <NAME>gnome_mdi_remove_child</NAME>
  5366. <RETURNS>gint  </RETURNS>
  5367. GnomeMDI *mdi, GnomeMDIChild *child, gint force
  5368. </FUNCTION>
  5369. <FUNCTION>
  5370. <NAME>gnome_mdi_remove_all</NAME>
  5371. <RETURNS>gint  </RETURNS>
  5372. GnomeMDI *mdi, gint force
  5373. </FUNCTION>
  5374. <FUNCTION>
  5375. <NAME>gnome_mdi_open_toplevel</NAME>
  5376. <RETURNS>void  </RETURNS>
  5377. GnomeMDI *mdi
  5378. </FUNCTION>
  5379. <FUNCTION>
  5380. <NAME>gnome_mdi_update_child</NAME>
  5381. <RETURNS>void  </RETURNS>
  5382. GnomeMDI *mdi, GnomeMDIChild *child
  5383. </FUNCTION>
  5384. <FUNCTION>
  5385. <NAME>gnome_mdi_get_active_child</NAME>
  5386. <RETURNS>GnomeMDIChild  *</RETURNS>
  5387. GnomeMDI *mdi
  5388. </FUNCTION>
  5389. <FUNCTION>
  5390. <NAME>gnome_mdi_find_child</NAME>
  5391. <RETURNS>GnomeMDIChild  *</RETURNS>
  5392. GnomeMDI *mdi, gchar *name
  5393. </FUNCTION>
  5394. <FUNCTION>
  5395. <NAME>gnome_mdi_get_active_window</NAME>
  5396. <RETURNS>GnomeApp       *</RETURNS>
  5397. GnomeMDI *mdi
  5398. </FUNCTION>
  5399. <FUNCTION>
  5400. <NAME>gnome_mdi_register</NAME>
  5401. <RETURNS>void  </RETURNS>
  5402. GnomeMDI *mdi, GtkObject *object
  5403. </FUNCTION>
  5404. <FUNCTION>
  5405. <NAME>gnome_mdi_unregister</NAME>
  5406. <RETURNS>void  </RETURNS>
  5407. GnomeMDI *mdi, GtkObject *object
  5408. </FUNCTION>
  5409. <FUNCTION>
  5410. <NAME>gnome_mdi_get_app_from_view</NAME>
  5411. <RETURNS>GnomeApp       *</RETURNS>
  5412. GtkWidget *view
  5413. </FUNCTION>
  5414. <FUNCTION>
  5415. <NAME>gnome_mdi_get_child_from_view</NAME>
  5416. <RETURNS>GnomeMDIChild  *</RETURNS>
  5417. GtkWidget *view
  5418. </FUNCTION>
  5419. <FUNCTION>
  5420. <NAME>gnome_mdi_get_view_from_window</NAME>
  5421. <RETURNS>GtkWidget      *</RETURNS>
  5422. GnomeMDI *mdi, GnomeApp *app
  5423. </FUNCTION>
  5424. <FUNCTION>
  5425. <NAME>gnome_mdi_get_menubar_info</NAME>
  5426. <RETURNS>GnomeUIInfo    *</RETURNS>
  5427. GnomeApp *app
  5428. </FUNCTION>
  5429. <FUNCTION>
  5430. <NAME>gnome_mdi_get_toolbar_info</NAME>
  5431. <RETURNS>GnomeUIInfo    *</RETURNS>
  5432. GnomeApp *app
  5433. </FUNCTION>
  5434. <FUNCTION>
  5435. <NAME>gnome_mdi_get_child_menu_info</NAME>
  5436. <RETURNS>GnomeUIInfo    *</RETURNS>
  5437. GnomeApp *app
  5438. </FUNCTION>
  5439. <MACRO>
  5440. <NAME>GNOME_MESSAGE_BOX</NAME>
  5441. #define GNOME_MESSAGE_BOX(obj)        GTK_CHECK_CAST (obj, gnome_message_box_get_type (), GnomeMessageBox)
  5442. </MACRO>
  5443. <MACRO>
  5444. <NAME>GNOME_MESSAGE_BOX_CLASS</NAME>
  5445. #define GNOME_MESSAGE_BOX_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_message_box_get_type (), GnomeMessageBoxClass)
  5446. </MACRO>
  5447. <MACRO>
  5448. <NAME>GNOME_IS_MESSAGE_BOX</NAME>
  5449. #define GNOME_IS_MESSAGE_BOX(obj)       GTK_CHECK_TYPE (obj, gnome_message_box_get_type ())
  5450. </MACRO>
  5451. <MACRO>
  5452. <NAME>GNOME_MESSAGE_BOX_INFO</NAME>
  5453. #define GNOME_MESSAGE_BOX_INFO      "info"
  5454. </MACRO>
  5455. <MACRO>
  5456. <NAME>GNOME_MESSAGE_BOX_WARNING</NAME>
  5457. #define GNOME_MESSAGE_BOX_WARNING   "warning"
  5458. </MACRO>
  5459. <MACRO>
  5460. <NAME>GNOME_MESSAGE_BOX_ERROR</NAME>
  5461. #define GNOME_MESSAGE_BOX_ERROR     "error"
  5462. </MACRO>
  5463. <MACRO>
  5464. <NAME>GNOME_MESSAGE_BOX_QUESTION</NAME>
  5465. #define GNOME_MESSAGE_BOX_QUESTION  "question"
  5466. </MACRO>
  5467. <MACRO>
  5468. <NAME>GNOME_MESSAGE_BOX_GENERIC</NAME>
  5469. #define GNOME_MESSAGE_BOX_GENERIC   "generic"
  5470. </MACRO>
  5471. <STRUCT>
  5472. <NAME>GnomeMessageBox</NAME>
  5473. </STRUCT>
  5474. <STRUCT>
  5475. <NAME>GnomeMessageBoxClass</NAME>
  5476. </STRUCT>
  5477. <STRUCT>
  5478. <NAME>GnomeMessageBoxButton</NAME>
  5479. </STRUCT>
  5480. <STRUCT>
  5481. <NAME>GnomeMessageBox</NAME>
  5482. struct GnomeMessageBox
  5483. {
  5484.   GnomeDialog dialog;
  5485. };
  5486. </STRUCT>
  5487. <FUNCTION>
  5488. <NAME>gnome_message_box_get_type</NAME>
  5489. <RETURNS>guint  </RETURNS>
  5490. void
  5491. </FUNCTION>
  5492. <FUNCTION>
  5493. <NAME>gnome_message_box_new</NAME>
  5494. <RETURNS>GtkWidget *</RETURNS>
  5495. const gchar           *message,const gchar           *messagebox_type,...
  5496. </FUNCTION>
  5497. <FUNCTION>
  5498. <NAME>gnome_message_box_newv</NAME>
  5499. <RETURNS>GtkWidget *</RETURNS>
  5500. const gchar           *message,const gchar           *messagebox_type,const gchar           **buttons
  5501. </FUNCTION>
  5502. <FUNCTION>
  5503. <NAME>gnome_message_box_set_modal</NAME>
  5504. <RETURNS>void  </RETURNS>
  5505. GnomeMessageBox *messagebox
  5506. </FUNCTION>
  5507. <FUNCTION>
  5508. <NAME>gnome_message_box_set_default</NAME>
  5509. <RETURNS>void  </RETURNS>
  5510. GnomeMessageBox *messagebox,gint            button
  5511. </FUNCTION>
  5512. <MACRO>
  5513. <NAME>GNOME_NUMBER_ENTRY</NAME>
  5514. #define GNOME_NUMBER_ENTRY(obj)         GTK_CHECK_CAST (obj, gnome_number_entry_get_type (), GnomeNumberEntry)
  5515. </MACRO>
  5516. <MACRO>
  5517. <NAME>GNOME_NUMBER_ENTRY_CLASS</NAME>
  5518. #define GNOME_NUMBER_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_number_entry_get_type (), GnomeNumberEntryClass)
  5519. </MACRO>
  5520. <MACRO>
  5521. <NAME>GNOME_IS_NUMBER_ENTRY</NAME>
  5522. #define GNOME_IS_NUMBER_ENTRY(obj)      GTK_CHECK_TYPE (obj, gnome_number_entry_get_type ())
  5523. </MACRO>
  5524. <STRUCT>
  5525. <NAME>GnomeNumberEntry</NAME>
  5526. </STRUCT>
  5527. <STRUCT>
  5528. <NAME>GnomeNumberEntryClass</NAME>
  5529. </STRUCT>
  5530. <STRUCT>
  5531. <NAME>GnomeNumberEntry</NAME>
  5532. struct GnomeNumberEntry {
  5533.     GtkHBox hbox;
  5534.  
  5535.     char *calc_dialog_title;
  5536.     
  5537.     GtkWidget *calc_dlg;
  5538.  
  5539.     GtkWidget *gentry;
  5540. };
  5541. </STRUCT>
  5542. <FUNCTION>
  5543. <NAME>gnome_number_entry_get_type</NAME>
  5544. <RETURNS>guint  </RETURNS>
  5545. void
  5546. </FUNCTION>
  5547. <FUNCTION>
  5548. <NAME>gnome_number_entry_new</NAME>
  5549. <RETURNS>GtkWidget  *</RETURNS>
  5550. char *history_id,char *calc_dialog_title
  5551. </FUNCTION>
  5552. <FUNCTION>
  5553. <NAME>gnome_number_entry_gnome_entry</NAME>
  5554. <RETURNS>GtkWidget  *</RETURNS>
  5555. GnomeNumberEntry *nentry
  5556. </FUNCTION>
  5557. <FUNCTION>
  5558. <NAME>gnome_number_entry_gtk_entry</NAME>
  5559. <RETURNS>GtkWidget  *</RETURNS>
  5560. GnomeNumberEntry *nentry
  5561. </FUNCTION>
  5562. <FUNCTION>
  5563. <NAME>gnome_number_entry_set_title</NAME>
  5564. <RETURNS>void  </RETURNS>
  5565. GnomeNumberEntry *nentry,char *calc_dialog_title
  5566. </FUNCTION>
  5567. <FUNCTION>
  5568. <NAME>gnome_number_entry_get_number</NAME>
  5569. <RETURNS>gdouble  </RETURNS>
  5570. GnomeNumberEntry *nentry
  5571. </FUNCTION>
  5572. <MACRO>
  5573. <NAME>GNOME_PAPER_SELECTOR</NAME>
  5574. #define GNOME_PAPER_SELECTOR(obj)         GTK_CHECK_CAST (obj, gnome_paper_selector_get_type (), GnomePaperSelector)
  5575. </MACRO>
  5576. <MACRO>
  5577. <NAME>GNOME_PAPER_SELECTOR_CLASS</NAME>
  5578. #define GNOME_PAPER_SELECTOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_paper_selector_get_type (), GnomePaperSelectorClass)
  5579. </MACRO>
  5580. <MACRO>
  5581. <NAME>GNOME_IS_PAPER_SELECTOR</NAME>
  5582. #define GNOME_IS_PAPER_SELECTOR(obj)      GTK_CHECK_TYPE (obj, gnome_paper_selector_get_type ())
  5583. </MACRO>
  5584. <STRUCT>
  5585. <NAME>GnomePaperSelector</NAME>
  5586. </STRUCT>
  5587. <STRUCT>
  5588. <NAME>GnomePaperSelectorClass</NAME>
  5589. </STRUCT>
  5590. <STRUCT>
  5591. <NAME>GnomePaperSelector</NAME>
  5592. struct GnomePaperSelector {
  5593.   GtkVBox vbox;
  5594.   
  5595.   GtkWidget *paper;
  5596.   GtkWidget *width;
  5597.   GtkWidget *height;
  5598.   GtkWidget *unit;
  5599.   GtkWidget *unit_label;
  5600.  
  5601.   gint paper_id;
  5602.   gint width_id;
  5603.   gint height_id;
  5604. };
  5605. </STRUCT>
  5606. <FUNCTION>
  5607. <NAME>gnome_paper_selector_get_type</NAME>
  5608. <RETURNS>guint     </RETURNS>
  5609. void
  5610. </FUNCTION>
  5611. <FUNCTION>
  5612. <NAME>gnome_paper_selector_new</NAME>
  5613. <RETURNS>GtkWidget     *</RETURNS>
  5614. void
  5615. </FUNCTION>
  5616. <FUNCTION>
  5617. <NAME>gnome_paper_selector_get_name</NAME>
  5618. <RETURNS>gchar         *</RETURNS>
  5619. GnomePaperSelector *gspaper
  5620. </FUNCTION>
  5621. <FUNCTION>
  5622. <NAME>gnome_paper_selector_get_width</NAME>
  5623. <RETURNS>gfloat     </RETURNS>
  5624. GnomePaperSelector *gspaper
  5625. </FUNCTION>
  5626. <FUNCTION>
  5627. <NAME>gnome_paper_selector_get_height</NAME>
  5628. <RETURNS>gfloat     </RETURNS>
  5629. GnomePaperSelector *gspaper
  5630. </FUNCTION>
  5631. <FUNCTION>
  5632. <NAME>gnome_paper_selector_get_left_margin</NAME>
  5633. <RETURNS>gfloat  </RETURNS>
  5634. GnomePaperSelector *gspaper
  5635. </FUNCTION>
  5636. <FUNCTION>
  5637. <NAME>gnome_paper_selector_get_right_margin</NAME>
  5638. <RETURNS>gfloat  </RETURNS>
  5639. GnomePaperSelector *gspaper
  5640. </FUNCTION>
  5641. <FUNCTION>
  5642. <NAME>gnome_paper_selector_get_top_margin</NAME>
  5643. <RETURNS>gfloat  </RETURNS>
  5644. GnomePaperSelector *gspaper
  5645. </FUNCTION>
  5646. <FUNCTION>
  5647. <NAME>gnome_paper_selector_get_bottom_margin</NAME>
  5648. <RETURNS>gfloat  </RETURNS>
  5649. GnomePaperSelector *gspaper
  5650. </FUNCTION>
  5651. <FUNCTION>
  5652. <NAME>gnome_paper_selector_set_name</NAME>
  5653. <RETURNS>void     </RETURNS>
  5654. GnomePaperSelector *gspaper,gchar *name
  5655. </FUNCTION>
  5656. <FUNCTION>
  5657. <NAME>gnome_paper_selector_set_width</NAME>
  5658. <RETURNS>void     </RETURNS>
  5659. GnomePaperSelector *gspaper,gfloat width
  5660. </FUNCTION>
  5661. <FUNCTION>
  5662. <NAME>gnome_paper_selector_set_height</NAME>
  5663. <RETURNS>void     </RETURNS>
  5664. GnomePaperSelector *gspaper,gfloat height
  5665. </FUNCTION>
  5666. <MACRO>
  5667. <NAME>GNOME_PIXMAP_ENTRY</NAME>
  5668. #define GNOME_PIXMAP_ENTRY(obj)         GTK_CHECK_CAST (obj, gnome_pixmap_entry_get_type (), GnomePixmapEntry)
  5669. </MACRO>
  5670. <MACRO>
  5671. <NAME>GNOME_PIXMAP_ENTRY_CLASS</NAME>
  5672. #define GNOME_PIXMAP_ENTRY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_pixmap_entry_get_type (), GnomePixmapEntryClass)
  5673. </MACRO>
  5674. <MACRO>
  5675. <NAME>GNOME_IS_PIXMAP_ENTRY</NAME>
  5676. #define GNOME_IS_PIXMAP_ENTRY(obj)      GTK_CHECK_TYPE (obj, gnome_pixmap_entry_get_type ())
  5677. </MACRO>
  5678. <STRUCT>
  5679. <NAME>GnomePixmapEntry</NAME>
  5680. </STRUCT>
  5681. <STRUCT>
  5682. <NAME>GnomePixmapEntryClass</NAME>
  5683. </STRUCT>
  5684. <STRUCT>
  5685. <NAME>GnomePixmapEntry</NAME>
  5686. struct GnomePixmapEntry {
  5687.     GtkVBox vbox;
  5688.     
  5689.     GtkWidget *fentry;
  5690.  
  5691.     int do_preview; /*put a preview frame with the pixmap next to
  5692.               the entry*/
  5693.     GtkWidget *preview;
  5694.     GtkWidget *preview_sw;
  5695.     
  5696.     /*very private*/
  5697.     char *last_preview;
  5698. };
  5699. </STRUCT>
  5700. <FUNCTION>
  5701. <NAME>gnome_pixmap_entry_get_type</NAME>
  5702. <RETURNS>guint  </RETURNS>
  5703. void
  5704. </FUNCTION>
  5705. <FUNCTION>
  5706. <NAME>gnome_pixmap_entry_new</NAME>
  5707. <RETURNS>GtkWidget  *</RETURNS>
  5708. char *history_id,char *browse_dialog_title,int do_preview
  5709. </FUNCTION>
  5710. <FUNCTION>
  5711. <NAME>gnome_pixmap_entry_set_pixmap_subdir</NAME>
  5712. <RETURNS>void  </RETURNS>
  5713. GnomePixmapEntry *pentry,const char *subdir
  5714. </FUNCTION>
  5715. <FUNCTION>
  5716. <NAME>gnome_pixmap_entry_gnome_file_entry</NAME>
  5717. <RETURNS>GtkWidget  *</RETURNS>
  5718. GnomePixmapEntry *pentry
  5719. </FUNCTION>
  5720. <FUNCTION>
  5721. <NAME>gnome_pixmap_entry_gnome_entry</NAME>
  5722. <RETURNS>GtkWidget  *</RETURNS>
  5723. GnomePixmapEntry *pentry
  5724. </FUNCTION>
  5725. <FUNCTION>
  5726. <NAME>gnome_pixmap_entry_gtk_entry</NAME>
  5727. <RETURNS>GtkWidget  *</RETURNS>
  5728. GnomePixmapEntry *pentry
  5729. </FUNCTION>
  5730. <FUNCTION>
  5731. <NAME>gnome_pixmap_entry_set_preview</NAME>
  5732. <RETURNS>void  </RETURNS>
  5733. GnomePixmapEntry *pentry,int do_preview
  5734. </FUNCTION>
  5735. <FUNCTION>
  5736. <NAME>gnome_pixmap_entry_set_preview_size</NAME>
  5737. <RETURNS>void     </RETURNS>
  5738. GnomePixmapEntry *pentry,int preview_w,int preview_h
  5739. </FUNCTION>
  5740. <FUNCTION>
  5741. <NAME>gnome_pixmap_entry_get_filename</NAME>
  5742. <RETURNS>char       *</RETURNS>
  5743. GnomePixmapEntry *pentry
  5744. </FUNCTION>
  5745. <MACRO>
  5746. <NAME>GNOME_PIXMAP</NAME>
  5747. #define GNOME_PIXMAP(obj)         GTK_CHECK_CAST (obj, gnome_pixmap_get_type (), GnomePixmap)
  5748. </MACRO>
  5749. <MACRO>
  5750. <NAME>GNOME_PIXMAP_CLASS</NAME>
  5751. #define GNOME_PIXMAP_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gnome_pixmap_get_type (), GnomePixmapClass)
  5752. </MACRO>
  5753. <MACRO>
  5754. <NAME>GNOME_IS_PIXMAP</NAME>
  5755. #define GNOME_IS_PIXMAP(obj)      GTK_CHECK_TYPE (obj, gnome_pixmap_get_type ())
  5756. </MACRO>
  5757. <STRUCT>
  5758. <NAME>GnomePixmap</NAME>
  5759. </STRUCT>
  5760. <STRUCT>
  5761. <NAME>GnomePixmapClass</NAME>
  5762. </STRUCT>
  5763. <STRUCT>
  5764. <NAME>GnomePixmap</NAME>
  5765. struct GnomePixmap {
  5766.     GtkWidget widget;
  5767.  
  5768.     GdkPixmap *pixmap;
  5769.     GdkBitmap *mask;
  5770. };
  5771. </STRUCT>
  5772. <FUNCTION>
  5773. <NAME>gnome_pixmap_get_type</NAME>
  5774. <RETURNS>guint  </RETURNS>
  5775. void
  5776. </FUNCTION>
  5777. <FUNCTION>
  5778. <NAME>gnome_pixmap_new_from_file</NAME>
  5779. <RETURNS>GtkWidget  *</RETURNS>
  5780. const char *filename
  5781. </FUNCTION>
  5782. <FUNCTION>
  5783. <NAME>gnome_pixmap_new_from_file_at_size</NAME>
  5784. <RETURNS>GtkWidget  *</RETURNS>
  5785. const char *filename, int width, int height
  5786. </FUNCTION>
  5787. <FUNCTION>
  5788. <NAME>gnome_pixmap_new_from_xpm_d</NAME>
  5789. <RETURNS>GtkWidget  *</RETURNS>
  5790. char **xpm_data
  5791. </FUNCTION>
  5792. <FUNCTION>
  5793. <NAME>gnome_pixmap_new_from_xpm_d_at_size</NAME>
  5794. <RETURNS>GtkWidget  *</RETURNS>
  5795. char **xpm_data, int width, int height
  5796. </FUNCTION>
  5797. <FUNCTION>
  5798. <NAME>gnome_pixmap_new_from_rgb_d</NAME>
  5799. <RETURNS>GtkWidget  *</RETURNS>
  5800. unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height
  5801. </FUNCTION>
  5802. <FUNCTION>
  5803. <NAME>gnome_pixmap_new_from_rgb_d_shaped</NAME>
  5804. <RETURNS>GtkWidget  *</RETURNS>
  5805. unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height,GdkImlibColor *shape_color
  5806. </FUNCTION>
  5807. <FUNCTION>
  5808. <NAME>gnome_pixmap_new_from_rgb_d_shaped_at_size</NAME>
  5809. <RETURNS>GtkWidget  *</RETURNS>
  5810. unsigned char *data,unsigned char *alpha,int rgb_width, int rgb_height,int width, int height,GdkImlibColor *shape_color
  5811. </FUNCTION>
  5812. <FUNCTION>
  5813. <NAME>gnome_pixmap_new_from_rgb_d_at_size</NAME>
  5814. <RETURNS>GtkWidget  *</RETURNS>
  5815. unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height,int width, int height
  5816. </FUNCTION>
  5817. <FUNCTION>
  5818. <NAME>gnome_pixmap_new_from_gnome_pixmap</NAME>
  5819. <RETURNS>GtkWidget  *</RETURNS>
  5820. GnomePixmap *gpixmap
  5821. </FUNCTION>
  5822. <FUNCTION>
  5823. <NAME>gnome_pixmap_new_from_imlib</NAME>
  5824. <RETURNS>GtkWidget  *</RETURNS>
  5825. GdkImlibImage *im
  5826. </FUNCTION>
  5827. <FUNCTION>
  5828. <NAME>gnome_pixmap_new_from_imlib_at_size</NAME>
  5829. <RETURNS>GtkWidget  *</RETURNS>
  5830. GdkImlibImage *im,int width, int height
  5831. </FUNCTION>
  5832. <FUNCTION>
  5833. <NAME>gnome_pixmap_load_file</NAME>
  5834. <RETURNS>void  </RETURNS>
  5835. GnomePixmap *gpixmap, const char *filename
  5836. </FUNCTION>
  5837. <FUNCTION>
  5838. <NAME>gnome_pixmap_load_file_at_size</NAME>
  5839. <RETURNS>void  </RETURNS>
  5840. GnomePixmap *gpixmap, const char *filename, int width, int height
  5841. </FUNCTION>
  5842. <FUNCTION>
  5843. <NAME>gnome_pixmap_load_xpm_d</NAME>
  5844. <RETURNS>void  </RETURNS>
  5845. GnomePixmap *gpixmap, char **xpm_data
  5846. </FUNCTION>
  5847. <FUNCTION>
  5848. <NAME>gnome_pixmap_load_xpm_d_at_size</NAME>
  5849. <RETURNS>void  </RETURNS>
  5850. GnomePixmap *gpixmap, char **xpm_data, int width, int height
  5851. </FUNCTION>
  5852. <FUNCTION>
  5853. <NAME>gnome_pixmap_load_rgb_d</NAME>
  5854. <RETURNS>void  </RETURNS>
  5855. GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height
  5856. </FUNCTION>
  5857. <FUNCTION>
  5858. <NAME>gnome_pixmap_load_rgb_d_shaped</NAME>
  5859. <RETURNS>void  </RETURNS>
  5860. GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height,GdkImlibColor *shape_color
  5861. </FUNCTION>
  5862. <FUNCTION>
  5863. <NAME>gnome_pixmap_load_rgb_d_shaped_at_size</NAME>
  5864. <RETURNS>void  </RETURNS>
  5865. GnomePixmap *gpixmap,unsigned char *data,unsigned char *alpha,int rgb_width, int rgb_height,int width, int height,GdkImlibColor *shape_color
  5866. </FUNCTION>
  5867. <FUNCTION>
  5868. <NAME>gnome_pixmap_load_rgb_d_at_size</NAME>
  5869. <RETURNS>void  </RETURNS>
  5870. GnomePixmap *gpixmap, unsigned char *data, unsigned char *alpha,int rgb_width, int rgb_height,int width, int height
  5871. </FUNCTION>
  5872. <FUNCTION>
  5873. <NAME>gnome_pixmap_load_imlib</NAME>
  5874. <RETURNS>void  </RETURNS>
  5875. GnomePixmap *gpixmap,GdkImlibImage *im
  5876. </FUNCTION>
  5877. <FUNCTION>
  5878. <NAME>gnome_pixmap_load_imlib_at_size</NAME>
  5879. <RETURNS>void  </RETURNS>
  5880. GnomePixmap *gpixmap,GdkImlibImage *im,int width, int height
  5881. </FUNCTION>
  5882. <MACRO>
  5883. <NAME>gnome_widget_add_help</NAME>
  5884. #define gnome_widget_add_help(widget, help) \
  5885.     (gnome_widget_add_help_with_uidata((widget),(help),NULL, NULL))
  5886. </MACRO>
  5887. <FUNCTION>
  5888. <NAME>gnome_widget_add_help_with_uidata</NAME>
  5889. <RETURNS>void  </RETURNS>
  5890. GtkWidget *widget,gchar *help,GnomeUIInfo *menuinfo,gpointer user_data
  5891. </FUNCTION>
  5892. <FUNCTION>
  5893. <NAME>gnome_popup_menu_new</NAME>
  5894. <RETURNS>GtkWidget  *</RETURNS>
  5895. GnomeUIInfo *uiinfo
  5896. </FUNCTION>
  5897. <FUNCTION>
  5898. <NAME>gnome_popup_menu_new_with_accelgroup</NAME>
  5899. <RETURNS>GtkWidget  *</RETURNS>
  5900. GnomeUIInfo *uiinfo,GtkAccelGroup *accelgroup
  5901. </FUNCTION>
  5902. <FUNCTION>
  5903. <NAME>gnome_popup_menu_get_accel_group</NAME>
  5904. <RETURNS>GtkAccelGroup  *</RETURNS>
  5905. GtkMenu *menu
  5906. </FUNCTION>
  5907. <FUNCTION>
  5908. <NAME>gnome_popup_menu_attach</NAME>
  5909. <RETURNS>void  </RETURNS>
  5910. GtkWidget *popup, GtkWidget *widget,gpointer user_data
  5911. </FUNCTION>
  5912. <FUNCTION>
  5913. <NAME>gnome_popup_menu_do_popup</NAME>
  5914. <RETURNS>void  </RETURNS>
  5915. GtkWidget *popup, GtkMenuPositionFunc pos_func, gpointer pos_data,GdkEventButton *event, gpointer user_data
  5916. </FUNCTION>
  5917. <FUNCTION>
  5918. <NAME>gnome_popup_menu_do_popup_modal</NAME>
  5919. <RETURNS>int  </RETURNS>
  5920. GtkWidget *popup, GtkMenuPositionFunc pos_func, gpointer pos_data,GdkEventButton *event, gpointer user_data
  5921. </FUNCTION>
  5922. <STRUCT>
  5923. <NAME>GnomePreferences</NAME>
  5924. </STRUCT>
  5925. <STRUCT>
  5926. <NAME>GnomePreferences</NAME>
  5927. struct GnomePreferences {
  5928.   GtkButtonBoxStyle dialog_buttons_style;
  5929.   int property_box_buttons_ok : 1;
  5930.   int property_box_buttons_apply : 1;
  5931.   int property_box_buttons_close : 1;
  5932.   int property_box_buttons_help : 1;
  5933.   int statusbar_not_dialog : 1;
  5934.   int statusbar_is_interactive : 1;
  5935.   int statusbar_meter_on_right : 1;
  5936.   int menubar_detachable : 1;
  5937.   int menubar_relief : 1;
  5938.   int toolbar_detachable : 1;
  5939.   int toolbar_relief : 1;
  5940.   int toolbar_relief_btn : 1;
  5941.   int toolbar_lines : 1;
  5942.   int toolbar_labels : 1;
  5943.   int dialog_centered : 1;
  5944.   int menus_have_tearoff : 1;
  5945.   int menus_have_icons : 1;
  5946.   int disable_imlib_cache : 1;
  5947.   GtkWindowType dialog_type;
  5948.   GtkWindowPosition dialog_position;
  5949.   GnomeMDIMode mdi_mode;
  5950.   GtkPositionType mdi_tab_pos;
  5951. };
  5952. </STRUCT>
  5953. <FUNCTION>
  5954. <NAME>gnome_preferences_load</NAME>
  5955. <RETURNS>void  </RETURNS>
  5956. void
  5957. </FUNCTION>
  5958. <FUNCTION>
  5959. <NAME>gnome_preferences_save</NAME>
  5960. <RETURNS>void  </RETURNS>
  5961. void
  5962. </FUNCTION>
  5963. <FUNCTION>
  5964. <NAME>gnome_preferences_load_custom</NAME>
  5965. <RETURNS>void  </RETURNS>
  5966. GnomePreferences *settings
  5967. </FUNCTION>
  5968. <FUNCTION>
  5969. <NAME>gnome_preferences_save_custom</NAME>
  5970. <RETURNS>void  </RETURNS>
  5971. GnomePreferences *settings
  5972. </FUNCTION>
  5973. <FUNCTION>
  5974. <NAME>gnome_preferences_get_button_layout</NAME>
  5975. <RETURNS>GtkButtonBoxStyle  </RETURNS>
  5976. void
  5977. </FUNCTION>
  5978. <FUNCTION>
  5979. <NAME>gnome_preferences_set_button_layout</NAME>
  5980. <RETURNS>void  </RETURNS>
  5981. GtkButtonBoxStyle style
  5982. </FUNCTION>
  5983. <FUNCTION>
  5984. <NAME>gnome_preferences_get_statusbar_dialog</NAME>
  5985. <RETURNS>gboolean  </RETURNS>
  5986. void
  5987. </FUNCTION>
  5988. <FUNCTION>
  5989. <NAME>gnome_preferences_set_statusbar_dialog</NAME>
  5990. <RETURNS>void  </RETURNS>
  5991. gboolean statusbar
  5992. </FUNCTION>
  5993. <FUNCTION>
  5994. <NAME>gnome_preferences_get_statusbar_interactive</NAME>
  5995. <RETURNS>gboolean  </RETURNS>
  5996. void
  5997. </FUNCTION>
  5998. <FUNCTION>
  5999. <NAME>gnome_preferences_set_statusbar_interactive</NAME>
  6000. <RETURNS>void  </RETURNS>
  6001. gboolean b
  6002. </FUNCTION>
  6003. <FUNCTION>
  6004. <NAME>gnome_preferences_get_statusbar_meter_on_right</NAME>
  6005. <RETURNS>gboolean  </RETURNS>
  6006. void
  6007. </FUNCTION>
  6008. <FUNCTION>
  6009. <NAME>gnome_preferences_set_statusbar_meter_on_right</NAME>
  6010. <RETURNS>void  </RETURNS>
  6011. gboolean status_meter_on_right
  6012. </FUNCTION>
  6013. <FUNCTION>
  6014. <NAME>gnome_preferences_get_menubar_detachable</NAME>
  6015. <RETURNS>gboolean  </RETURNS>
  6016. void
  6017. </FUNCTION>
  6018. <FUNCTION>
  6019. <NAME>gnome_preferences_set_menubar_detachable</NAME>
  6020. <RETURNS>void  </RETURNS>
  6021. gboolean b
  6022. </FUNCTION>
  6023. <FUNCTION>
  6024. <NAME>gnome_preferences_get_menubar_relief</NAME>
  6025. <RETURNS>gboolean  </RETURNS>
  6026. void
  6027. </FUNCTION>
  6028. <FUNCTION>
  6029. <NAME>gnome_preferences_set_menubar_relief</NAME>
  6030. <RETURNS>void  </RETURNS>
  6031. gboolean b
  6032. </FUNCTION>
  6033. <FUNCTION>
  6034. <NAME>gnome_preferences_get_toolbar_detachable</NAME>
  6035. <RETURNS>gboolean  </RETURNS>
  6036. void
  6037. </FUNCTION>
  6038. <FUNCTION>
  6039. <NAME>gnome_preferences_set_toolbar_detachable</NAME>
  6040. <RETURNS>void  </RETURNS>
  6041. gboolean b
  6042. </FUNCTION>
  6043. <FUNCTION>
  6044. <NAME>gnome_preferences_get_toolbar_relief</NAME>
  6045. <RETURNS>gboolean  </RETURNS>
  6046. void
  6047. </FUNCTION>
  6048. <FUNCTION>
  6049. <NAME>gnome_preferences_set_toolbar_relief</NAME>
  6050. <RETURNS>void  </RETURNS>
  6051. gboolean b
  6052. </FUNCTION>
  6053. <FUNCTION>
  6054. <NAME>gnome_preferences_get_toolbar_relief_btn</NAME>
  6055. <RETURNS>gboolean  </RETURNS>
  6056. void
  6057. </FUNCTION>
  6058. <FUNCTION>
  6059. <NAME>gnome_preferences_set_toolbar_relief_btn</NAME>
  6060. <RETURNS>void  </RETURNS>
  6061. gboolean b
  6062. </FUNCTION>
  6063. <FUNCTION>
  6064. <NAME>gnome_preferences_get_toolbar_lines</NAME>
  6065. <RETURNS>gboolean  </RETURNS>
  6066. void
  6067. </FUNCTION>
  6068. <FUNCTION>
  6069. <NAME>gnome_preferences_set_toolbar_lines</NAME>
  6070. <RETURNS>void  </RETURNS>
  6071. gboolean b
  6072. </FUNCTION>
  6073. <FUNCTION>
  6074. <NAME>gnome_preferences_get_toolbar_labels</NAME>
  6075. <RETURNS>gboolean  </RETURNS>
  6076. void
  6077. </FUNCTION>
  6078. <FUNCTION>
  6079. <NAME>gnome_preferences_set_toolbar_labels</NAME>
  6080. <RETURNS>void  </RETURNS>
  6081. gboolean b
  6082. </FUNCTION>
  6083. <FUNCTION>
  6084. <NAME>gnome_preferences_get_dialog_centered</NAME>
  6085. <RETURNS>gboolean  </RETURNS>
  6086. void
  6087. </FUNCTION>
  6088. <FUNCTION>
  6089. <NAME>gnome_preferences_set_dialog_centered</NAME>
  6090. <RETURNS>void  </RETURNS>
  6091. gboolean b
  6092. </FUNCTION>
  6093. <FUNCTION>
  6094. <NAME>gnome_preferences_get_dialog_type</NAME>
  6095. <RETURNS>GtkWindowType  </RETURNS>
  6096. void
  6097. </FUNCTION>
  6098. <FUNCTION>
  6099. <NAME>gnome_preferences_set_dialog_type</NAME>
  6100. <RETURNS>void  </RETURNS>
  6101. GtkWindowType t
  6102. </FUNCTION>
  6103. <FUNCTION>
  6104. <NAME>gnome_preferences_get_dialog_position</NAME>
  6105. <RETURNS>GtkWindowPosition  </RETURNS>
  6106. void
  6107. </FUNCTION>
  6108. <FUNCTION>
  6109. <NAME>gnome_preferences_set_dialog_position</NAME>
  6110. <RETURNS>void  </RETURNS>
  6111. GtkWindowPosition p
  6112. </FUNCTION>
  6113. <FUNCTION>
  6114. <NAME>gnome_preferences_get_mdi_mode</NAME>
  6115. <RETURNS>GnomeMDIMode  </RETURNS>
  6116. void
  6117. </FUNCTION>
  6118. <FUNCTION>
  6119. <NAME>gnome_preferences_set_mdi_mode</NAME>
  6120. <RETURNS>void  </RETURNS>
  6121. GnomeMDIMode m
  6122. </FUNCTION>
  6123. <FUNCTION>
  6124. <NAME>gnome_preferences_get_mdi_tab_pos</NAME>
  6125. <RETURNS>GtkPositionType  </RETURNS>
  6126. void
  6127. </FUNCTION>
  6128. <FUNCTION>
  6129. <NAME>gnome_preferences_set_mdi_tab_pos</NAME>
  6130. <RETURNS>void  </RETURNS>
  6131. GtkPositionType p
  6132. </FUNCTION>
  6133. <FUNCTION>
  6134. <NAME>gnome_preferences_get_property_box_apply</NAME>
  6135. <RETURNS>int  </RETURNS>
  6136. void
  6137. </FUNCTION>
  6138. <FUNCTION>
  6139. <NAME>gnome_preferences_set_property_box_button_apply</NAME>
  6140. <RETURNS>void  </RETURNS>
  6141. int v
  6142. </FUNCTION>
  6143. <FUNCTION>
  6144. <NAME>gnome_preferences_get_menus_have_tearoff</NAME>
  6145. <RETURNS>gboolean  </RETURNS>
  6146. void
  6147. </FUNCTION>
  6148. <FUNCTION>
  6149. <NAME>gnome_preferences_set_menus_have_tearoff</NAME>
  6150. <RETURNS>void  </RETURNS>
  6151. gboolean b
  6152. </FUNCTION>
  6153. <FUNCTION>
  6154. <NAME>gnome_preferences_get_menus_have_icons</NAME>
  6155. <RETURNS>int  </RETURNS>
  6156. void
  6157. </FUNCTION>
  6158. <FUNCTION>
  6159. <NAME>gnome_preferences_set_menus_have_icons</NAME>
  6160. <RETURNS>void  </RETURNS>
  6161. int have_icons
  6162. </FUNCTION>
  6163. <FUNCTION>
  6164. <NAME>gnome_preferences_get_disable_imlib_cache</NAME>
  6165. <RETURNS>int  </RETURNS>
  6166. void
  6167. </FUNCTION>
  6168. <FUNCTION>
  6169. <NAME>gnome_preferences_set_disable_imlib_cache</NAME>
  6170. <RETURNS>void  </RETURNS>
  6171. int disable_imlib_cache
  6172. </FUNCTION>
  6173. <MACRO>
  6174. <NAME>GNOME_PROC_BAR</NAME>
  6175. #define GNOME_PROC_BAR(obj)        GTK_CHECK_CAST (obj, gnome_proc_bar_get_type (), GnomeProcBar)
  6176. </MACRO>
  6177. <MACRO>
  6178. <NAME>GNOME_PROC_BAR__CLASS</NAME>
  6179. #define GNOME_PROC_BAR__CLASS(klass)    GTK_CHECK_CLASS_CAST (klass, gnome_proc_bar_get_type (), GnomeProcBarClass)
  6180. </MACRO>
  6181. <MACRO>
  6182. <NAME>GNOME_IS_PROC_BAR</NAME>
  6183. #define GNOME_IS_PROC_BAR(obj)        GTK_CHECK_TYPE (obj, gnome_proc_bar_get_type ())
  6184. </MACRO>
  6185. <STRUCT>
  6186. <NAME>GnomeProcBar</NAME>
  6187. </STRUCT>
  6188. <STRUCT>
  6189. <NAME>GnomeProcBarClass</NAME>
  6190. </STRUCT>
  6191. <STRUCT>
  6192. <NAME>GnomeProcBar</NAME>
  6193. struct GnomeProcBar {
  6194.  
  6195.     GtkHBox hbox;
  6196.  
  6197.     GtkWidget *bar;
  6198.     GtkWidget *label;
  6199.     GtkWidget *frame;
  6200.  
  6201.     gboolean vertical : 1;
  6202.  
  6203.     GdkPixmap *bs;
  6204.     GdkColor *colors;
  6205.  
  6206.     gint colors_allocated;
  6207.     gint first_request;
  6208.     gint n;
  6209.     gint tag;
  6210.  
  6211.     unsigned *last;
  6212.  
  6213.     gint (*cb)();
  6214.     gpointer cb_data;
  6215. };
  6216. </STRUCT>
  6217. <FUNCTION>
  6218. <NAME>gnome_proc_bar_get_type</NAME>
  6219. <RETURNS>guint  </RETURNS>
  6220. void
  6221. </FUNCTION>
  6222. <FUNCTION>
  6223. <NAME>gnome_proc_bar_new</NAME>
  6224. <RETURNS>GtkWidget  *</RETURNS>
  6225. GtkWidget *label,gint n, GdkColor *colors,gint (*cb)()
  6226. </FUNCTION>
  6227. <FUNCTION>
  6228. <NAME>gnome_proc_bar_set_values</NAME>
  6229. <RETURNS>void  </RETURNS>
  6230. GnomeProcBar *pb, unsigned val []
  6231. </FUNCTION>
  6232. <FUNCTION>
  6233. <NAME>gnome_proc_bar_set_orient</NAME>
  6234. <RETURNS>void  </RETURNS>
  6235. GnomeProcBar *pb, gboolean vertical
  6236. </FUNCTION>
  6237. <FUNCTION>
  6238. <NAME>gnome_proc_bar_start</NAME>
  6239. <RETURNS>void  </RETURNS>
  6240. GnomeProcBar *pb, gint gtime, gpointer data
  6241. </FUNCTION>
  6242. <FUNCTION>
  6243. <NAME>gnome_proc_bar_stop</NAME>
  6244. <RETURNS>void  </RETURNS>
  6245. GnomeProcBar *pb
  6246. </FUNCTION>
  6247. <FUNCTION>
  6248. <NAME>gnome_proc_bar_update</NAME>
  6249. <RETURNS>void  </RETURNS>
  6250. GnomeProcBar *pb, GdkColor *colors
  6251. </FUNCTION>
  6252. <STRUCT>
  6253. <NAME>GnomePropertyObject</NAME>
  6254. </STRUCT>
  6255. <STRUCT>
  6256. <NAME>GnomePropertyDescriptor</NAME>
  6257. </STRUCT>
  6258. <ENUM>
  6259. <NAME>GnomePropertyAction</NAME>
  6260. typedef enum {
  6261.     GNOME_PROPERTY_ACTION_APPLY = 1,
  6262.     GNOME_PROPERTY_ACTION_UPDATE,
  6263.     GNOME_PROPERTY_ACTION_LOAD,
  6264.     GNOME_PROPERTY_ACTION_SAVE,
  6265.     GNOME_PROPERTY_ACTION_LOAD_TEMP,
  6266.     GNOME_PROPERTY_ACTION_SAVE_TEMP,
  6267.     GNOME_PROPERTY_ACTION_DISCARD_TEMP,
  6268.     GNOME_PROPERTY_ACTION_CHANGED
  6269. } GnomePropertyAction;
  6270. </ENUM>
  6271. <STRUCT>
  6272. <NAME>GnomePropertyDescriptor</NAME>
  6273. struct GnomePropertyDescriptor {
  6274.     guint size;
  6275.     const gchar *label;
  6276.     GtkWidget * (*init_func) (GnomePropertyObject *);
  6277.     void (*apply_func) (GnomePropertyObject *);
  6278.     void (*update_func) (GnomePropertyObject *);
  6279.     void (*load_func) (GnomePropertyObject *);
  6280.     void (*save_func) (GnomePropertyObject *);
  6281.     void (*load_temp_func) (GnomePropertyObject *);
  6282.     gint (*save_temp_func) (GnomePropertyObject *);
  6283.     void (*discard_temp_func) (GnomePropertyObject *);
  6284.     void (*changed_func) (GnomePropertyObject *);
  6285.     GList *next;
  6286. };
  6287. </STRUCT>
  6288. <STRUCT>
  6289. <NAME>GnomePropertyObject</NAME>
  6290. struct GnomePropertyObject {
  6291.     GtkWidget *label;
  6292.     GnomePropertyDescriptor *descriptor;
  6293.     gpointer prop_data, temp_data, user_data;
  6294.     GList *object_list;
  6295. };
  6296. </STRUCT>
  6297. <FUNCTION>
  6298. <NAME>gnome_property_object_new</NAME>
  6299. <RETURNS>GnomePropertyObject  *</RETURNS>
  6300. GnomePropertyDescriptor *descriptor,gpointer property_data_ptr
  6301. </FUNCTION>
  6302. <FUNCTION>
  6303. <NAME>gnome_property_object_register</NAME>
  6304. <RETURNS>void</RETURNS>
  6305. GnomePropertyBox *property_box,GnomePropertyObject *object
  6306. </FUNCTION>
  6307. <FUNCTION>
  6308. <NAME>gnome_property_object_list_walk</NAME>
  6309. <RETURNS>void</RETURNS>
  6310. GList *property_object_list,GnomePropertyAction action
  6311. </FUNCTION>
  6312. <FUNCTION>
  6313. <NAME>gnome_property_object_apply</NAME>
  6314. <RETURNS>void  </RETURNS>
  6315. GnomePropertyObject *object
  6316. </FUNCTION>
  6317. <FUNCTION>
  6318. <NAME>gnome_property_object_update</NAME>
  6319. <RETURNS>void  </RETURNS>
  6320. GnomePropertyObject *object
  6321. </FUNCTION>
  6322. <FUNCTION>
  6323. <NAME>gnome_property_object_load</NAME>
  6324. <RETURNS>void  </RETURNS>
  6325. GnomePropertyObject *object
  6326. </FUNCTION>
  6327. <FUNCTION>
  6328. <NAME>gnome_property_object_save</NAME>
  6329. <RETURNS>void  </RETURNS>
  6330. GnomePropertyObject *object
  6331. </FUNCTION>
  6332. <FUNCTION>
  6333. <NAME>gnome_property_object_load_temp</NAME>
  6334. <RETURNS>void  </RETURNS>
  6335. GnomePropertyObject *object
  6336. </FUNCTION>
  6337. <FUNCTION>
  6338. <NAME>gnome_property_object_save_temp</NAME>
  6339. <RETURNS>void  </RETURNS>
  6340. GnomePropertyObject *object
  6341. </FUNCTION>
  6342. <FUNCTION>
  6343. <NAME>gnome_property_object_discard_temp</NAME>
  6344. <RETURNS>void  </RETURNS>
  6345. GnomePropertyObject *object
  6346. </FUNCTION>
  6347. <FUNCTION>
  6348. <NAME>gnome_property_object_changed</NAME>
  6349. <RETURNS>void  </RETURNS>
  6350. GnomePropertyObject *object
  6351. </FUNCTION>
  6352. <FUNCTION>
  6353. <NAME>gnome_property_entry_font</NAME>
  6354. <RETURNS>GtkWidget  *</RETURNS>
  6355. GnomePropertyObject *object, const gchar *label,gchar **font_name_ptr, GdkFont **font_ptr
  6356. </FUNCTION>
  6357. <FUNCTION>
  6358. <NAME>gnome_property_entry_colors</NAME>
  6359. <RETURNS>GtkWidget  *</RETURNS>
  6360. GnomePropertyObject *object, const gchar *label,gint num_colors, gint columns, gint *table_pos,GdkColor *colors, const gchar *texts []
  6361. </FUNCTION>
  6362. <MACRO>
  6363. <NAME>GNOME_PROPERTY_BOX</NAME>
  6364. #define GNOME_PROPERTY_BOX(Obj)         GTK_CHECK_CAST (Obj, gnome_property_box_get_type (), GnomePropertyBox)
  6365. </MACRO>
  6366. <MACRO>
  6367. <NAME>GNOME_PROPERTY_BOX_CLASS</NAME>
  6368. #define GNOME_PROPERTY_BOX_CLASS(Klass) GTK_CHECK_CLASS_CAST (Klass, gnome_property_box_get_type (), GnomePropertyBoxClass)
  6369. </MACRO>
  6370. <MACRO>
  6371. <NAME>GNOME_IS_PROPERTY_BOX</NAME>
  6372. #define GNOME_IS_PROPERTY_BOX(Obj)      GTK_CHECK_TYPE (Obj, gnome_property_box_get_type ())
  6373. </MACRO>
  6374. <MACRO>
  6375. <NAME>GNOME_PROPERTY_BOX_DIRTY</NAME>
  6376. #define GNOME_PROPERTY_BOX_DIRTY    "gnome_property_box_dirty"
  6377. </MACRO>
  6378. <STRUCT>
  6379. <NAME>GnomePropertyBox</NAME>
  6380. </STRUCT>
  6381. <STRUCT>
  6382. <NAME>GnomePropertyBoxClass</NAME>
  6383. </STRUCT>
  6384. <STRUCT>
  6385. <NAME>GnomePropertyBox</NAME>
  6386. struct GnomePropertyBox
  6387. {
  6388.     GnomeDialog dialog;
  6389.  
  6390.     GtkWidget *notebook;        /* The notebook widget.  */
  6391.     GtkWidget *ok_button;        /* OK button.  */
  6392.     GtkWidget *apply_button;    /* Apply button.  */
  6393.     GtkWidget *cancel_button;   /* Cancel/Close button.  */
  6394.     GtkWidget *help_button;        /* Help button.  */
  6395. };
  6396. </STRUCT>
  6397. <FUNCTION>
  6398. <NAME>gnome_property_box_get_type</NAME>
  6399. <RETURNS>guint  </RETURNS>
  6400. void
  6401. </FUNCTION>
  6402. <FUNCTION>
  6403. <NAME>gnome_property_box_new</NAME>
  6404. <RETURNS>GtkWidget  *</RETURNS>
  6405. void
  6406. </FUNCTION>
  6407. <FUNCTION>
  6408. <NAME>gnome_property_box_changed</NAME>
  6409. <RETURNS>void  </RETURNS>
  6410. GnomePropertyBox *property_box
  6411. </FUNCTION>
  6412. <FUNCTION>
  6413. <NAME>gnome_property_box_set_modified</NAME>
  6414. <RETURNS>void  </RETURNS>
  6415. GnomePropertyBox *property_box,gboolean state
  6416. </FUNCTION>
  6417. <FUNCTION>
  6418. <NAME>gnome_property_box_append_page</NAME>
  6419. <RETURNS>gint     </RETURNS>
  6420. GnomePropertyBox *property_box,GtkWidget *child,GtkWidget *tab_label
  6421. </FUNCTION>
  6422. <FUNCTION>
  6423. <NAME>gnome_property_box_set_state</NAME>
  6424. <RETURNS>void  </RETURNS>
  6425. GnomePropertyBox *property_box,gboolean state
  6426. </FUNCTION>
  6427. <MACRO>
  6428. <NAME>GNOME_SCORES</NAME>
  6429. #define GNOME_SCORES(obj)          GTK_CHECK_CAST (obj, gnome_scores_get_type (), GnomeScores)
  6430. </MACRO>
  6431. <MACRO>
  6432. <NAME>GNOME_SCORES_CLASS</NAME>
  6433. #define GNOME_SCORES_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_scores_get_type (), GnomeScoresClass)
  6434. </MACRO>
  6435. <MACRO>
  6436. <NAME>GNOME_IS_SCORES</NAME>
  6437. #define GNOME_IS_SCORES(obj)       GTK_CHECK_TYPE (obj, gnome_scores_get_type ())
  6438. </MACRO>
  6439. <STRUCT>
  6440. <NAME>GnomeScores</NAME>
  6441. </STRUCT>
  6442. <STRUCT>
  6443. <NAME>GnomeScoresClass</NAME>
  6444. </STRUCT>
  6445. <STRUCT>
  6446. <NAME>GnomeScores</NAME>
  6447. struct GnomeScores
  6448. {
  6449.   GnomeDialog dialog;
  6450.  
  6451.   GtkWidget *but_clear;
  6452.   guint        n_scores;
  6453.  
  6454.   GtkWidget *logo;
  6455.   GtkWidget **label_names;
  6456.   GtkWidget **label_scores;
  6457.   GtkWidget **label_times;
  6458. };
  6459. </STRUCT>
  6460. <FUNCTION>
  6461. <NAME>gnome_scores_get_type</NAME>
  6462. <RETURNS>guint  </RETURNS>
  6463. void
  6464. </FUNCTION>
  6465. <FUNCTION>
  6466. <NAME>gnome_scores_new</NAME>
  6467. <RETURNS>GtkWidget *</RETURNS>
  6468. guint n_scores,gchar **names,gfloat *scores,time_t *times,guint clear
  6469. </FUNCTION>
  6470. <FUNCTION>
  6471. <NAME>gnome_scores_set_logo_label</NAME>
  6472. <RETURNS>void  </RETURNS>
  6473. GnomeScores *gs,gchar *txt,gchar *font,GdkColor *color
  6474. </FUNCTION>
  6475. <FUNCTION>
  6476. <NAME>gnome_scores_set_logo_pixmap</NAME>
  6477. <RETURNS>void  </RETURNS>
  6478. GnomeScores *gs,gchar *logo
  6479. </FUNCTION>
  6480. <FUNCTION>
  6481. <NAME>gnome_scores_set_logo_widget</NAME>
  6482. <RETURNS>void  </RETURNS>
  6483. GnomeScores *gs,GtkWidget *w
  6484. </FUNCTION>
  6485. <FUNCTION>
  6486. <NAME>gnome_scores_set_color</NAME>
  6487. <RETURNS>void  </RETURNS>
  6488. GnomeScores *gs,guint pos,GdkColor *col
  6489. </FUNCTION>
  6490. <FUNCTION>
  6491. <NAME>gnome_scores_set_def_color</NAME>
  6492. <RETURNS>void  </RETURNS>
  6493. GnomeScores *gs,GdkColor *col
  6494. </FUNCTION>
  6495. <FUNCTION>
  6496. <NAME>gnome_scores_set_colors</NAME>
  6497. <RETURNS>void  </RETURNS>
  6498. GnomeScores *gs,GdkColor *col
  6499. </FUNCTION>
  6500. <FUNCTION>
  6501. <NAME>gnome_scores_set_logo_label_title</NAME>
  6502. <RETURNS>void  </RETURNS>
  6503. GnomeScores *gs,gchar *txt
  6504. </FUNCTION>
  6505. <FUNCTION>
  6506. <NAME>gnome_scores_set_current_player</NAME>
  6507. <RETURNS>void  </RETURNS>
  6508. GnomeScores *gs,gint i
  6509. </FUNCTION>
  6510. <MACRO>
  6511. <NAME>GNOME_SPELL</NAME>
  6512. #define GNOME_SPELL(obj)        GTK_CHECK_CAST(obj, gnome_spell_get_type(), GnomeSpell)
  6513. </MACRO>
  6514. <MACRO>
  6515. <NAME>GNOME_SPELL_CLASS</NAME>
  6516. #define GNOME_SPELL_CLASS(klass)        GTK_CHECK_CLASS_CAST(klass, gnome_spell_get_type(), GnomeSpelliClass)
  6517. </MACRO>
  6518. <MACRO>
  6519. <NAME>GNOME_IS_SPELL</NAME>
  6520. #define GNOME_IS_SPELL(obj)        GTK_CHECK_TYPE(obj, gnome_spell_get_type())
  6521. </MACRO>
  6522. <STRUCT>
  6523. <NAME>GnomeSpell</NAME>
  6524. </STRUCT>
  6525. <STRUCT>
  6526. <NAME>GnomeSpellClass</NAME>
  6527. </STRUCT>
  6528. <STRUCT>
  6529. <NAME>GnomeSpellInfo</NAME>
  6530. </STRUCT>
  6531. <STRUCT>
  6532. <NAME>GnomeSpellInfo</NAME>
  6533. struct GnomeSpellInfo {
  6534.     gchar* original;
  6535.     gchar* replacement;
  6536.     gchar* word;
  6537.     guint offset;
  6538.     GSList * words;
  6539. };
  6540. </STRUCT>
  6541. <STRUCT>
  6542. <NAME>GnomeSpell</NAME>
  6543. struct GnomeSpell {
  6544.     GtkVBox vbox;
  6545.  
  6546.     GSList * spellinfo;
  6547.  
  6548.     GtkWidget* page_spell;
  6549.     GtkWidget* page_config;
  6550.     GtkWidget* word;
  6551.     GtkWidget* list;
  6552.     GtkWidget* b_accept;
  6553.     GtkWidget* b_skip;
  6554.     GtkWidget* b_replace;
  6555.     GtkWidget* b_insert;
  6556.     GtkWidget* b_insertl;
  6557.     GtkWidget* command;
  6558.     GtkWidget* dict;
  6559.     GtkWidget* pdict;
  6560.     GtkWidget* wchars;
  6561.     GtkWidget* wlen;
  6562.     GtkWidget* sort;
  6563.     GtkWidget* runtog;
  6564.     GtkWidget* discard;
  6565.     GtkWidget* tooltip;
  6566.     GtkWidget* killproc;
  6567.     GtkTooltips* tooltips;
  6568.     GSList* awords;
  6569.  
  6570.     FILE* rispell;
  6571.     FILE* wispell;
  6572.     pid_t spell_pid;
  6573. };
  6574. </STRUCT>
  6575. <FUNCTION>
  6576. <NAME>gnome_spell_get_type</NAME>
  6577. <RETURNS>guint  </RETURNS>
  6578. void
  6579. </FUNCTION>
  6580. <FUNCTION>
  6581. <NAME>gnome_spell_new</NAME>
  6582. <RETURNS>GtkWidget *</RETURNS>
  6583. void
  6584. </FUNCTION>
  6585. <FUNCTION>
  6586. <NAME>gnome_spell_check</NAME>
  6587. <RETURNS>gint  </RETURNS>
  6588. GnomeSpell* gtkspell, gchar* str
  6589. </FUNCTION>
  6590. <FUNCTION>
  6591. <NAME>gnome_spell_accept</NAME>
  6592. <RETURNS>void  </RETURNS>
  6593. GnomeSpell* gtkspell, gchar* word
  6594. </FUNCTION>
  6595. <FUNCTION>
  6596. <NAME>gnome_spell_insert</NAME>
  6597. <RETURNS>void  </RETURNS>
  6598. GnomeSpell* gtkspell, gchar* word, gint lowercase
  6599. </FUNCTION>
  6600. <FUNCTION>
  6601. <NAME>gnome_spell_next</NAME>
  6602. <RETURNS>int     </RETURNS>
  6603. GnomeSpell* gtkspell
  6604. </FUNCTION>
  6605. <FUNCTION>
  6606. <NAME>gnome_spell_kill</NAME>
  6607. <RETURNS>void     </RETURNS>
  6608. GnomeSpell* gtkspell
  6609. </FUNCTION>
  6610. <FUNCTION>
  6611. <NAME>gnome_startup_acquire_token</NAME>
  6612. <RETURNS>gboolean  </RETURNS>
  6613. const gchar *property_name,const gchar *sm_id
  6614. </FUNCTION>
  6615. <MACRO>
  6616. <NAME>USE_NEW_GNOME_STOCK</NAME>
  6617. #define USE_NEW_GNOME_STOCK 1
  6618. </MACRO>
  6619. <MACRO>
  6620. <NAME>GNOME_STOCK_PIXMAP_NEW</NAME>
  6621. #define GNOME_STOCK_PIXMAP_NEW         "New"
  6622. </MACRO>
  6623. <MACRO>
  6624. <NAME>GNOME_STOCK_PIXMAP_OPEN</NAME>
  6625. #define GNOME_STOCK_PIXMAP_OPEN        "Open"
  6626. </MACRO>
  6627. <MACRO>
  6628. <NAME>GNOME_STOCK_PIXMAP_CLOSE</NAME>
  6629. #define GNOME_STOCK_PIXMAP_CLOSE       "Close"
  6630. </MACRO>
  6631. <MACRO>
  6632. <NAME>GNOME_STOCK_PIXMAP_REVERT</NAME>
  6633. #define GNOME_STOCK_PIXMAP_REVERT      "Revert"
  6634. </MACRO>
  6635. <MACRO>
  6636. <NAME>GNOME_STOCK_PIXMAP_SAVE</NAME>
  6637. #define GNOME_STOCK_PIXMAP_SAVE        "Save"
  6638. </MACRO>
  6639. <MACRO>
  6640. <NAME>GNOME_STOCK_PIXMAP_SAVE_AS</NAME>
  6641. #define GNOME_STOCK_PIXMAP_SAVE_AS     "Save As"
  6642. </MACRO>
  6643. <MACRO>
  6644. <NAME>GNOME_STOCK_PIXMAP_CUT</NAME>
  6645. #define GNOME_STOCK_PIXMAP_CUT         "Cut"
  6646. </MACRO>
  6647. <MACRO>
  6648. <NAME>GNOME_STOCK_PIXMAP_COPY</NAME>
  6649. #define GNOME_STOCK_PIXMAP_COPY        "Copy"
  6650. </MACRO>
  6651. <MACRO>
  6652. <NAME>GNOME_STOCK_PIXMAP_PASTE</NAME>
  6653. #define GNOME_STOCK_PIXMAP_PASTE       "Paste"
  6654. </MACRO>
  6655. <MACRO>
  6656. <NAME>GNOME_STOCK_PIXMAP_CLEAR</NAME>
  6657. #define GNOME_STOCK_PIXMAP_CLEAR       "Clear"
  6658. </MACRO>
  6659. <MACRO>
  6660. <NAME>GNOME_STOCK_PIXMAP_PROPERTIES</NAME>
  6661. #define GNOME_STOCK_PIXMAP_PROPERTIES  "Properties"
  6662. </MACRO>
  6663. <MACRO>
  6664. <NAME>GNOME_STOCK_PIXMAP_PREFERENCES</NAME>
  6665. #define GNOME_STOCK_PIXMAP_PREFERENCES "Preferences"
  6666. </MACRO>
  6667. <MACRO>
  6668. <NAME>GNOME_STOCK_PIXMAP_HELP</NAME>
  6669. #define GNOME_STOCK_PIXMAP_HELP        "Help"
  6670. </MACRO>
  6671. <MACRO>
  6672. <NAME>GNOME_STOCK_PIXMAP_SCORES</NAME>
  6673. #define GNOME_STOCK_PIXMAP_SCORES      "Scores"
  6674. </MACRO>
  6675. <MACRO>
  6676. <NAME>GNOME_STOCK_PIXMAP_PRINT</NAME>
  6677. #define GNOME_STOCK_PIXMAP_PRINT       "Print"
  6678. </MACRO>
  6679. <MACRO>
  6680. <NAME>GNOME_STOCK_PIXMAP_SEARCH</NAME>
  6681. #define GNOME_STOCK_PIXMAP_SEARCH      "Search"
  6682. </MACRO>
  6683. <MACRO>
  6684. <NAME>GNOME_STOCK_PIXMAP_SRCHRPL</NAME>
  6685. #define GNOME_STOCK_PIXMAP_SRCHRPL     "Search/Replace"
  6686. </MACRO>
  6687. <MACRO>
  6688. <NAME>GNOME_STOCK_PIXMAP_BACK</NAME>
  6689. #define GNOME_STOCK_PIXMAP_BACK        "Back"
  6690. </MACRO>
  6691. <MACRO>
  6692. <NAME>GNOME_STOCK_PIXMAP_FORWARD</NAME>
  6693. #define GNOME_STOCK_PIXMAP_FORWARD     "Forward"
  6694. </MACRO>
  6695. <MACRO>
  6696. <NAME>GNOME_STOCK_PIXMAP_FIRST</NAME>
  6697. #define GNOME_STOCK_PIXMAP_FIRST       "First"
  6698. </MACRO>
  6699. <MACRO>
  6700. <NAME>GNOME_STOCK_PIXMAP_LAST</NAME>
  6701. #define GNOME_STOCK_PIXMAP_LAST        "Last"
  6702. </MACRO>
  6703. <MACRO>
  6704. <NAME>GNOME_STOCK_PIXMAP_HOME</NAME>
  6705. #define GNOME_STOCK_PIXMAP_HOME        "Home"
  6706. </MACRO>
  6707. <MACRO>
  6708. <NAME>GNOME_STOCK_PIXMAP_STOP</NAME>
  6709. #define GNOME_STOCK_PIXMAP_STOP        "Stop"
  6710. </MACRO>
  6711. <MACRO>
  6712. <NAME>GNOME_STOCK_PIXMAP_REFRESH</NAME>
  6713. #define GNOME_STOCK_PIXMAP_REFRESH     "Refresh"
  6714. </MACRO>
  6715. <MACRO>
  6716. <NAME>GNOME_STOCK_PIXMAP_UNDO</NAME>
  6717. #define GNOME_STOCK_PIXMAP_UNDO        "Undo"
  6718. </MACRO>
  6719. <MACRO>
  6720. <NAME>GNOME_STOCK_PIXMAP_REDO</NAME>
  6721. #define GNOME_STOCK_PIXMAP_REDO        "Redo"
  6722. </MACRO>
  6723. <MACRO>
  6724. <NAME>GNOME_STOCK_PIXMAP_TIMER</NAME>
  6725. #define GNOME_STOCK_PIXMAP_TIMER       "Timer"
  6726. </MACRO>
  6727. <MACRO>
  6728. <NAME>GNOME_STOCK_PIXMAP_TIMER_STOP</NAME>
  6729. #define GNOME_STOCK_PIXMAP_TIMER_STOP  "Timer Stopped"
  6730. </MACRO>
  6731. <MACRO>
  6732. <NAME>GNOME_STOCK_PIXMAP_MAIL</NAME>
  6733. #define GNOME_STOCK_PIXMAP_MAIL           "Mail"
  6734. </MACRO>
  6735. <MACRO>
  6736. <NAME>GNOME_STOCK_PIXMAP_MAIL_RCV</NAME>
  6737. #define GNOME_STOCK_PIXMAP_MAIL_RCV    "Receive Mail"
  6738. </MACRO>
  6739. <MACRO>
  6740. <NAME>GNOME_STOCK_PIXMAP_MAIL_SND</NAME>
  6741. #define GNOME_STOCK_PIXMAP_MAIL_SND    "Send Mail"
  6742. </MACRO>
  6743. <MACRO>
  6744. <NAME>GNOME_STOCK_PIXMAP_MAIL_RPL</NAME>
  6745. #define GNOME_STOCK_PIXMAP_MAIL_RPL    "Reply to Mail"
  6746. </MACRO>
  6747. <MACRO>
  6748. <NAME>GNOME_STOCK_PIXMAP_MAIL_FWD</NAME>
  6749. #define GNOME_STOCK_PIXMAP_MAIL_FWD    "Forward Mail"
  6750. </MACRO>
  6751. <MACRO>
  6752. <NAME>GNOME_STOCK_PIXMAP_MAIL_NEW</NAME>
  6753. #define GNOME_STOCK_PIXMAP_MAIL_NEW    "New Mail"
  6754. </MACRO>
  6755. <MACRO>
  6756. <NAME>GNOME_STOCK_PIXMAP_TRASH</NAME>
  6757. #define GNOME_STOCK_PIXMAP_TRASH       "Trash"
  6758. </MACRO>
  6759. <MACRO>
  6760. <NAME>GNOME_STOCK_PIXMAP_TRASH_FULL</NAME>
  6761. #define GNOME_STOCK_PIXMAP_TRASH_FULL  "Trash Full"
  6762. </MACRO>
  6763. <MACRO>
  6764. <NAME>GNOME_STOCK_PIXMAP_UNDELETE</NAME>
  6765. #define GNOME_STOCK_PIXMAP_UNDELETE    "Undelete"
  6766. </MACRO>
  6767. <MACRO>
  6768. <NAME>GNOME_STOCK_PIXMAP_SPELLCHECK</NAME>
  6769. #define GNOME_STOCK_PIXMAP_SPELLCHECK  "Spellchecker"
  6770. </MACRO>
  6771. <MACRO>
  6772. <NAME>GNOME_STOCK_PIXMAP_MIC</NAME>
  6773. #define GNOME_STOCK_PIXMAP_MIC         "Microphone"
  6774. </MACRO>
  6775. <MACRO>
  6776. <NAME>GNOME_STOCK_PIXMAP_LINE_IN</NAME>
  6777. #define GNOME_STOCK_PIXMAP_LINE_IN     "Line In"
  6778. </MACRO>
  6779. <MACRO>
  6780. <NAME>GNOME_STOCK_PIXMAP_CDROM</NAME>
  6781. #define GNOME_STOCK_PIXMAP_CDROM       "Cdrom"
  6782. </MACRO>
  6783. <MACRO>
  6784. <NAME>GNOME_STOCK_PIXMAP_VOLUME</NAME>
  6785. #define GNOME_STOCK_PIXMAP_VOLUME      "Volume"
  6786. </MACRO>
  6787. <MACRO>
  6788. <NAME>GNOME_STOCK_PIXMAP_MIDI</NAME>
  6789. #define GNOME_STOCK_PIXMAP_MIDI        "Midi"
  6790. </MACRO>
  6791. <MACRO>
  6792. <NAME>GNOME_STOCK_PIXMAP_BOOK_RED</NAME>
  6793. #define GNOME_STOCK_PIXMAP_BOOK_RED    "Book Red"
  6794. </MACRO>
  6795. <MACRO>
  6796. <NAME>GNOME_STOCK_PIXMAP_BOOK_GREEN</NAME>
  6797. #define GNOME_STOCK_PIXMAP_BOOK_GREEN  "Book Green"
  6798. </MACRO>
  6799. <MACRO>
  6800. <NAME>GNOME_STOCK_PIXMAP_BOOK_BLUE</NAME>
  6801. #define GNOME_STOCK_PIXMAP_BOOK_BLUE   "Book Blue"
  6802. </MACRO>
  6803. <MACRO>
  6804. <NAME>GNOME_STOCK_PIXMAP_BOOK_YELLOW</NAME>
  6805. #define GNOME_STOCK_PIXMAP_BOOK_YELLOW "Book Yellow"
  6806. </MACRO>
  6807. <MACRO>
  6808. <NAME>GNOME_STOCK_PIXMAP_BOOK_OPEN</NAME>
  6809. #define GNOME_STOCK_PIXMAP_BOOK_OPEN   "Book Open"
  6810. </MACRO>
  6811. <MACRO>
  6812. <NAME>GNOME_STOCK_PIXMAP_ABOUT</NAME>
  6813. #define GNOME_STOCK_PIXMAP_ABOUT       "About"
  6814. </MACRO>
  6815. <MACRO>
  6816. <NAME>GNOME_STOCK_PIXMAP_QUIT</NAME>
  6817. #define GNOME_STOCK_PIXMAP_QUIT        "Quit"
  6818. </MACRO>
  6819. <MACRO>
  6820. <NAME>GNOME_STOCK_PIXMAP_MULTIPLE</NAME>
  6821. #define GNOME_STOCK_PIXMAP_MULTIPLE    "Multiple"
  6822. </MACRO>
  6823. <MACRO>
  6824. <NAME>GNOME_STOCK_PIXMAP_NOT</NAME>
  6825. #define GNOME_STOCK_PIXMAP_NOT         "Not"
  6826. </MACRO>
  6827. <MACRO>
  6828. <NAME>GNOME_STOCK_PIXMAP_CONVERT</NAME>
  6829. #define GNOME_STOCK_PIXMAP_CONVERT     "Convert"
  6830. </MACRO>
  6831. <MACRO>
  6832. <NAME>GNOME_STOCK_PIXMAP_JUMP_TO</NAME>
  6833. #define GNOME_STOCK_PIXMAP_JUMP_TO     "Jump To"
  6834. </MACRO>
  6835. <MACRO>
  6836. <NAME>GNOME_STOCK_PIXMAP_UP</NAME>
  6837. #define GNOME_STOCK_PIXMAP_UP          "Up"
  6838. </MACRO>
  6839. <MACRO>
  6840. <NAME>GNOME_STOCK_PIXMAP_DOWN</NAME>
  6841. #define GNOME_STOCK_PIXMAP_DOWN        "Down"
  6842. </MACRO>
  6843. <MACRO>
  6844. <NAME>GNOME_STOCK_PIXMAP_TOP</NAME>
  6845. #define GNOME_STOCK_PIXMAP_TOP         "Top"
  6846. </MACRO>
  6847. <MACRO>
  6848. <NAME>GNOME_STOCK_PIXMAP_BOTTOM</NAME>
  6849. #define GNOME_STOCK_PIXMAP_BOTTOM      "Bottom"
  6850. </MACRO>
  6851. <MACRO>
  6852. <NAME>GNOME_STOCK_PIXMAP_ATTACH</NAME>
  6853. #define GNOME_STOCK_PIXMAP_ATTACH      "Attach"
  6854. </MACRO>
  6855. <MACRO>
  6856. <NAME>GNOME_STOCK_PIXMAP_INDEX</NAME>
  6857. #define GNOME_STOCK_PIXMAP_INDEX       "Index"
  6858. </MACRO>
  6859. <MACRO>
  6860. <NAME>GNOME_STOCK_PIXMAP_FONT</NAME>
  6861. #define GNOME_STOCK_PIXMAP_FONT        "Font"
  6862. </MACRO>
  6863. <MACRO>
  6864. <NAME>GNOME_STOCK_PIXMAP_EXEC</NAME>
  6865. #define GNOME_STOCK_PIXMAP_EXEC        "Exec"
  6866. </MACRO>
  6867. <MACRO>
  6868. <NAME>GNOME_STOCK_PIXMAP_ALIGN_LEFT</NAME>
  6869. #define GNOME_STOCK_PIXMAP_ALIGN_LEFT    "Left"
  6870. </MACRO>
  6871. <MACRO>
  6872. <NAME>GNOME_STOCK_PIXMAP_ALIGN_RIGHT</NAME>
  6873. #define GNOME_STOCK_PIXMAP_ALIGN_RIGHT   "Right"
  6874. </MACRO>
  6875. <MACRO>
  6876. <NAME>GNOME_STOCK_PIXMAP_ALIGN_CENTER</NAME>
  6877. #define GNOME_STOCK_PIXMAP_ALIGN_CENTER  "Center"
  6878. </MACRO>
  6879. <MACRO>
  6880. <NAME>GNOME_STOCK_PIXMAP_ALIGN_JUSTIFY</NAME>
  6881. #define GNOME_STOCK_PIXMAP_ALIGN_JUSTIFY "Justify"
  6882. </MACRO>
  6883. <MACRO>
  6884. <NAME>GNOME_STOCK_PIXMAP_TEXT_BOLD</NAME>
  6885. #define GNOME_STOCK_PIXMAP_TEXT_BOLD      "Bold"
  6886. </MACRO>
  6887. <MACRO>
  6888. <NAME>GNOME_STOCK_PIXMAP_TEXT_ITALIC</NAME>
  6889. #define GNOME_STOCK_PIXMAP_TEXT_ITALIC    "Italic"
  6890. </MACRO>
  6891. <MACRO>
  6892. <NAME>GNOME_STOCK_PIXMAP_TEXT_UNDERLINE</NAME>
  6893. #define GNOME_STOCK_PIXMAP_TEXT_UNDERLINE "Underline"
  6894. </MACRO>
  6895. <MACRO>
  6896. <NAME>GNOME_STOCK_PIXMAP_TEXT_STRIKEOUT</NAME>
  6897. #define GNOME_STOCK_PIXMAP_TEXT_STRIKEOUT "Strikeout"
  6898. </MACRO>
  6899. <MACRO>
  6900. <NAME>GNOME_STOCK_PIXMAP_TEXT_INDENT</NAME>
  6901. #define GNOME_STOCK_PIXMAP_TEXT_INDENT "Text Indent"
  6902. </MACRO>
  6903. <MACRO>
  6904. <NAME>GNOME_STOCK_PIXMAP_TEXT_UNINDENT</NAME>
  6905. #define GNOME_STOCK_PIXMAP_TEXT_UNINDENT "Text Unindent"
  6906. </MACRO>
  6907. <MACRO>
  6908. <NAME>GNOME_STOCK_PIXMAP_EXIT</NAME>
  6909. #define GNOME_STOCK_PIXMAP_EXIT        GNOME_STOCK_PIXMAP_QUIT
  6910. </MACRO>
  6911. <MACRO>
  6912. <NAME>GNOME_STOCK_PIXMAP_COLORSELECTOR</NAME>
  6913. #define GNOME_STOCK_PIXMAP_COLORSELECTOR "Color Select"
  6914. </MACRO>
  6915. <MACRO>
  6916. <NAME>GNOME_STOCK_PIXMAP_ADD</NAME>
  6917. #define GNOME_STOCK_PIXMAP_ADD    "Add"
  6918. </MACRO>
  6919. <MACRO>
  6920. <NAME>GNOME_STOCK_PIXMAP_REMOVE</NAME>
  6921. #define GNOME_STOCK_PIXMAP_REMOVE "Remove"
  6922. </MACRO>
  6923. <MACRO>
  6924. <NAME>GNOME_STOCK_PIXMAP_TABLE_BORDERS</NAME>
  6925. #define GNOME_STOCK_PIXMAP_TABLE_BORDERS "Table Borders"
  6926. </MACRO>
  6927. <MACRO>
  6928. <NAME>GNOME_STOCK_PIXMAP_TABLE_FILL</NAME>
  6929. #define GNOME_STOCK_PIXMAP_TABLE_FILL "Table Fill"
  6930. </MACRO>
  6931. <MACRO>
  6932. <NAME>GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST</NAME>
  6933. #define GNOME_STOCK_PIXMAP_TEXT_BULLETED_LIST "Text Bulleted List"
  6934. </MACRO>
  6935. <MACRO>
  6936. <NAME>GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST</NAME>
  6937. #define GNOME_STOCK_PIXMAP_TEXT_NUMBERED_LIST "Text Numbered List"
  6938. </MACRO>
  6939. <MACRO>
  6940. <NAME>GNOME_STOCK_PIXMAP_REGULAR</NAME>
  6941. #define GNOME_STOCK_PIXMAP_REGULAR     "regular"
  6942. </MACRO>
  6943. <MACRO>
  6944. <NAME>GNOME_STOCK_PIXMAP_DISABLED</NAME>
  6945. #define GNOME_STOCK_PIXMAP_DISABLED    "disabled"
  6946. </MACRO>
  6947. <MACRO>
  6948. <NAME>GNOME_STOCK_PIXMAP_FOCUSED</NAME>
  6949. #define GNOME_STOCK_PIXMAP_FOCUSED     "focused"
  6950. </MACRO>
  6951. <STRUCT>
  6952. <NAME>GnomeStockPixmapEntryAny</NAME>
  6953. </STRUCT>
  6954. <STRUCT>
  6955. <NAME>GnomeStockPixmapEntryData</NAME>
  6956. </STRUCT>
  6957. <STRUCT>
  6958. <NAME>GnomeStockPixmapEntryFile</NAME>
  6959. </STRUCT>
  6960. <STRUCT>
  6961. <NAME>GnomeStockPixmapEntryPath</NAME>
  6962. </STRUCT>
  6963. <STRUCT>
  6964. <NAME>GnomeStockPixmapEntryWidget</NAME>
  6965. </STRUCT>
  6966. <STRUCT>
  6967. <NAME>GnomeStockPixmapEntryGPixmap</NAME>
  6968. </STRUCT>
  6969. <ENUM>
  6970. <NAME>GnomeStockPixmapType</NAME>
  6971. typedef enum {
  6972.         GNOME_STOCK_PIXMAP_TYPE_NONE,
  6973.         GNOME_STOCK_PIXMAP_TYPE_DATA,
  6974.         GNOME_STOCK_PIXMAP_TYPE_FILE,
  6975.         GNOME_STOCK_PIXMAP_TYPE_PATH,
  6976.         GNOME_STOCK_PIXMAP_TYPE_WIDGET,
  6977.     GNOME_STOCK_PIXMAP_TYPE_IMLIB,
  6978.     GNOME_STOCK_PIXMAP_TYPE_IMLIB_SCALED,
  6979.     GNOME_STOCK_PIXMAP_TYPE_GPIXMAP
  6980. } GnomeStockPixmapType;
  6981. </ENUM>
  6982. <STRUCT>
  6983. <NAME>GnomeStockPixmapEntryData</NAME>
  6984. struct GnomeStockPixmapEntryData {
  6985.         GnomeStockPixmapType type;
  6986.     int width, height;
  6987.     char *label;
  6988.         gchar **xpm_data;
  6989. };
  6990. </STRUCT>
  6991. <STRUCT>
  6992. <NAME>GnomeStockPixmapEntryImlib</NAME>
  6993. </STRUCT>
  6994. <STRUCT>
  6995. <NAME>GnomeStockPixmapEntryImlib</NAME>
  6996. struct GnomeStockPixmapEntryImlib {
  6997.         GnomeStockPixmapType type;
  6998.     int width, height;
  6999.     char *label;
  7000.         const gchar *rgb_data;
  7001.     GdkImlibColor shape;
  7002. };
  7003. </STRUCT>
  7004. <STRUCT>
  7005. <NAME>GnomeStockPixmapEntryImlibScaled</NAME>
  7006. </STRUCT>
  7007. <STRUCT>
  7008. <NAME>GnomeStockPixmapEntryImlibScaled</NAME>
  7009. struct GnomeStockPixmapEntryImlibScaled {
  7010.         GnomeStockPixmapType type;
  7011.     int width, height;
  7012.     char *label;
  7013.         const gchar *rgb_data;
  7014.     GdkImlibColor shape;
  7015.     int scaled_width, scaled_height;
  7016. };
  7017. </STRUCT>
  7018. <STRUCT>
  7019. <NAME>GnomeStockPixmapEntryFile</NAME>
  7020. struct GnomeStockPixmapEntryFile {
  7021.         GnomeStockPixmapType type;
  7022.     int width, height;
  7023.     char *label;
  7024.         gchar *filename;
  7025. };
  7026. </STRUCT>
  7027. <STRUCT>
  7028. <NAME>GnomeStockPixmapEntryPath</NAME>
  7029. struct GnomeStockPixmapEntryPath {
  7030.         GnomeStockPixmapType type;
  7031.     int width, height;
  7032.     char *label;
  7033.         gchar *pathname;
  7034. };
  7035. </STRUCT>
  7036. <STRUCT>
  7037. <NAME>GnomeStockPixmapEntryWidget</NAME>
  7038. struct GnomeStockPixmapEntryWidget {
  7039.         GnomeStockPixmapType type;
  7040.     int width, height;
  7041.     char *label;
  7042.         GtkWidget *widget;
  7043. };
  7044. </STRUCT>
  7045. <STRUCT>
  7046. <NAME>GnomeStockPixmapEntryGPixmap</NAME>
  7047. struct GnomeStockPixmapEntryGPixmap {
  7048.         GnomeStockPixmapType type;
  7049.     int width, height;
  7050.     char *label;
  7051.         GnomePixmap *pixmap;
  7052. };
  7053. </STRUCT>
  7054. <STRUCT>
  7055. <NAME>GnomeStockPixmapEntryAny</NAME>
  7056. struct GnomeStockPixmapEntryAny {
  7057.         GnomeStockPixmapType type;
  7058.     int width, height;
  7059.     char *label;
  7060. };
  7061. </STRUCT>
  7062. <UNION>
  7063. <NAME>GnomeStockPixmapEntry</NAME>
  7064. union GnomeStockPixmapEntry {
  7065.         GnomeStockPixmapType type;
  7066.         GnomeStockPixmapEntryAny any;
  7067.         GnomeStockPixmapEntryData data;
  7068.         GnomeStockPixmapEntryFile file;
  7069.         GnomeStockPixmapEntryPath path;
  7070.         GnomeStockPixmapEntryWidget widget;
  7071.     GnomeStockPixmapEntryImlib imlib;
  7072.     GnomeStockPixmapEntryImlibScaled imlib_s;
  7073.         GnomeStockPixmapEntryGPixmap gpixmap;
  7074. };
  7075. </UNION>
  7076. <MACRO>
  7077. <NAME>GNOME_STOCK_PIXMAP_WIDGET</NAME>
  7078. #define GNOME_STOCK_PIXMAP_WIDGET(obj)         GTK_CHECK_CAST(obj, gnome_stock_pixmap_widget_get_type(), GnomeStockPixmapWidget)
  7079. </MACRO>
  7080. <MACRO>
  7081. <NAME>GNOME_STOCK_PIXMAP_WIDGET_CLASS</NAME>
  7082. #define GNOME_STOCK_PIXMAP_WIDGET_CLASS(klass) GTK_CHECK_CAST_CLASS(obj, gnome_stock_pixmap_widget_get_type(), GnomeStockPixmapWidget)
  7083. </MACRO>
  7084. <MACRO>
  7085. <NAME>GNOME_IS_STOCK_PIXMAP_WIDGET</NAME>
  7086. #define GNOME_IS_STOCK_PIXMAP_WIDGET(obj)      GTK_CHECK_TYPE(obj, gnome_stock_pixmap_widget_get_type())
  7087. </MACRO>
  7088. <STRUCT>
  7089. <NAME>GnomeStockPixmapWidget</NAME>
  7090. </STRUCT>
  7091. <STRUCT>
  7092. <NAME>GnomeStockPixmapWidgetClass</NAME>
  7093. </STRUCT>
  7094. <STRUCT>
  7095. <NAME>GnomeStockPixmapWidget</NAME>
  7096. struct GnomeStockPixmapWidget {
  7097.     GtkVBox parent_object;
  7098.  
  7099.         char *icon;
  7100.     int width, height;      /* needed to answer size_requests even before
  7101.                      * a pixmap is loaded/created */
  7102.         GtkWidget   *window;    /* needed for style and gdk_pixmap_create... */
  7103.         GnomePixmap *pixmap;    /* the pixmap currently shown */
  7104.         GnomePixmap *regular, *disabled, *focused;  /* pixmap cache */
  7105. };
  7106. </STRUCT>
  7107. <FUNCTION>
  7108. <NAME>gnome_stock_pixmap_widget_get_type</NAME>
  7109. <RETURNS>guint  </RETURNS>
  7110. void
  7111. </FUNCTION>
  7112. <FUNCTION>
  7113. <NAME>gnome_stock_pixmap_widget_new</NAME>
  7114. <RETURNS>GtkWidget  *</RETURNS>
  7115. GtkWidget *window, const char *icon
  7116. </FUNCTION>
  7117. <MACRO>
  7118. <NAME>GNOME_STOCK_PIXMAP_WIDGET</NAME>
  7119. #define GNOME_STOCK_PIXMAP_WIDGET GNOME_STOCK
  7120. </MACRO>
  7121. <MACRO>
  7122. <NAME>GNOME_IS_STOCK_PIXMAP_WIDGET</NAME>
  7123. #define GNOME_IS_STOCK_PIXMAP_WIDGET GNOME_IS_STOCK
  7124. </MACRO>
  7125. <FUNCTION>
  7126. <NAME>gnome_stock_pixmap_widget_new</NAME>
  7127. <RETURNS>GtkWidget  *</RETURNS>
  7128. GtkWidget *window, const char *icon
  7129. </FUNCTION>
  7130. <MACRO>
  7131. <NAME>GNOME_STOCK</NAME>
  7132. #define GNOME_STOCK(obj)         GTK_CHECK_CAST(obj, gnome_stock_get_type(), GnomeStock)
  7133. </MACRO>
  7134. <MACRO>
  7135. <NAME>GNOME_STOCK_CLASS</NAME>
  7136. #define GNOME_STOCK_CLASS(klass) GTK_CHECK_CAST_CLASS(obj, gnome_stock_get_type(), GnomeStock)
  7137. </MACRO>
  7138. <MACRO>
  7139. <NAME>GNOME_IS_STOCK</NAME>
  7140. #define GNOME_IS_STOCK(obj)      GTK_CHECK_TYPE(obj, gnome_stock_get_type())
  7141. </MACRO>
  7142. <STRUCT>
  7143. <NAME>GnomeStock</NAME>
  7144. </STRUCT>
  7145. <STRUCT>
  7146. <NAME>GnomeStockClass</NAME>
  7147. </STRUCT>
  7148. <STRUCT>
  7149. <NAME>GnomeStock</NAME>
  7150. struct GnomeStock {
  7151.     GnomePixmap pixmap;
  7152.     GnomePixmap *regular, *disabled, *focused; /* pixmap cache */
  7153.     GnomePixmap *current;
  7154.     char *icon;
  7155.     guint32 c_regular, c_disabled, c_focused;
  7156. };
  7157. </STRUCT>
  7158. <FUNCTION>
  7159. <NAME>gnome_stock_get_type</NAME>
  7160. <RETURNS>guint  </RETURNS>
  7161. void
  7162. </FUNCTION>
  7163. <FUNCTION>
  7164. <NAME>gnome_stock_new</NAME>
  7165. <RETURNS>GtkWidget     *</RETURNS>
  7166. void
  7167. </FUNCTION>
  7168. <FUNCTION>
  7169. <NAME>gnome_stock_new_with_icon</NAME>
  7170. <RETURNS>GtkWidget     *</RETURNS>
  7171. const char *icon
  7172. </FUNCTION>
  7173. <FUNCTION>
  7174. <NAME>gnome_stock_set_icon</NAME>
  7175. <RETURNS>gboolean  </RETURNS>
  7176. GnomeStock *stock, const char *icon
  7177. </FUNCTION>
  7178. <FUNCTION>
  7179. <NAME>gnome_stock_pixmap</NAME>
  7180. <RETURNS>GnomePixmap            *</RETURNS>
  7181. GtkWidget *window,const char *icon,const char *subtype
  7182. </FUNCTION>
  7183. <FUNCTION>
  7184. <NAME>gnome_stock_pixmap_widget</NAME>
  7185. <RETURNS>GtkWidget              *</RETURNS>
  7186. GtkWidget *window,const char *icon
  7187. </FUNCTION>
  7188. <FUNCTION>
  7189. <NAME>gnome_stock_pixmap_widget_at_size</NAME>
  7190. <RETURNS>GtkWidget              *</RETURNS>
  7191. GtkWidget *window,const char *icon,guint width,guint height
  7192. </FUNCTION>
  7193. <FUNCTION>
  7194. <NAME>gnome_stock_pixmap_widget_set_icon</NAME>
  7195. <RETURNS>void  </RETURNS>
  7196. GnomeStock *widget,const char *icon
  7197. </FUNCTION>
  7198. <FUNCTION>
  7199. <NAME>gnome_stock_pixmap_widget_set_icon</NAME>
  7200. <RETURNS>void  </RETURNS>
  7201. GnomeStockPixmapWidget *widget,const char *icon
  7202. </FUNCTION>
  7203. <FUNCTION>
  7204. <NAME>gnome_stock_pixmap_register</NAME>
  7205. <RETURNS>gint  </RETURNS>
  7206. const char *icon,const char *subtype,GnomeStockPixmapEntry *entry
  7207. </FUNCTION>
  7208. <FUNCTION>
  7209. <NAME>gnome_stock_pixmap_change</NAME>
  7210. <RETURNS>gint  </RETURNS>
  7211. const char *icon,const char *subtype,GnomeStockPixmapEntry *entry
  7212. </FUNCTION>
  7213. <FUNCTION>
  7214. <NAME>gnome_stock_pixmap_checkfor</NAME>
  7215. <RETURNS>GnomeStockPixmapEntry  *</RETURNS>
  7216. const char *icon,const char *subtype
  7217. </FUNCTION>
  7218. <FUNCTION>
  7219. <NAME>gnome_pixmap_button</NAME>
  7220. <RETURNS>GtkWidget             *</RETURNS>
  7221. GtkWidget *pixmap,const char *text
  7222. </FUNCTION>
  7223. <FUNCTION>
  7224. <NAME>gnome_button_can_default</NAME>
  7225. <RETURNS>void     </RETURNS>
  7226. GtkButton *button,gboolean can_default
  7227. </FUNCTION>
  7228. <MACRO>
  7229. <NAME>GNOME_STOCK_BUTTON_OK</NAME>
  7230. #define GNOME_STOCK_BUTTON_OK     "Button_Ok"
  7231. </MACRO>
  7232. <MACRO>
  7233. <NAME>GNOME_STOCK_BUTTON_CANCEL</NAME>
  7234. #define GNOME_STOCK_BUTTON_CANCEL "Button_Cancel"
  7235. </MACRO>
  7236. <MACRO>
  7237. <NAME>GNOME_STOCK_BUTTON_YES</NAME>
  7238. #define GNOME_STOCK_BUTTON_YES    "Button_Yes"
  7239. </MACRO>
  7240. <MACRO>
  7241. <NAME>GNOME_STOCK_BUTTON_NO</NAME>
  7242. #define GNOME_STOCK_BUTTON_NO     "Button_No"
  7243. </MACRO>
  7244. <MACRO>
  7245. <NAME>GNOME_STOCK_BUTTON_CLOSE</NAME>
  7246. #define GNOME_STOCK_BUTTON_CLOSE  "Button_Close"
  7247. </MACRO>
  7248. <MACRO>
  7249. <NAME>GNOME_STOCK_BUTTON_APPLY</NAME>
  7250. #define GNOME_STOCK_BUTTON_APPLY  "Button_Apply"
  7251. </MACRO>
  7252. <MACRO>
  7253. <NAME>GNOME_STOCK_BUTTON_HELP</NAME>
  7254. #define GNOME_STOCK_BUTTON_HELP   "Button_Help"
  7255. </MACRO>
  7256. <MACRO>
  7257. <NAME>GNOME_STOCK_BUTTON_NEXT</NAME>
  7258. #define GNOME_STOCK_BUTTON_NEXT   "Button_Next"
  7259. </MACRO>
  7260. <MACRO>
  7261. <NAME>GNOME_STOCK_BUTTON_PREV</NAME>
  7262. #define GNOME_STOCK_BUTTON_PREV   "Button_Prev"
  7263. </MACRO>
  7264. <MACRO>
  7265. <NAME>GNOME_STOCK_BUTTON_UP</NAME>
  7266. #define GNOME_STOCK_BUTTON_UP     "Button_Up"
  7267. </MACRO>
  7268. <MACRO>
  7269. <NAME>GNOME_STOCK_BUTTON_DOWN</NAME>
  7270. #define GNOME_STOCK_BUTTON_DOWN   "Button_Down"
  7271. </MACRO>
  7272. <MACRO>
  7273. <NAME>GNOME_STOCK_BUTTON_FONT</NAME>
  7274. #define GNOME_STOCK_BUTTON_FONT   "Button_Font"
  7275. </MACRO>
  7276. <FUNCTION>
  7277. <NAME>gnome_stock_button</NAME>
  7278. <RETURNS>GtkWidget              *</RETURNS>
  7279. const char *type
  7280. </FUNCTION>
  7281. <FUNCTION>
  7282. <NAME>gnome_stock_or_ordinary_button</NAME>
  7283. <RETURNS>GtkWidget              *</RETURNS>
  7284. const char *type
  7285. </FUNCTION>
  7286. <MACRO>
  7287. <NAME>GNOME_STOCK_MENU_BLANK</NAME>
  7288. #define GNOME_STOCK_MENU_BLANK        "Menu_"
  7289. </MACRO>
  7290. <MACRO>
  7291. <NAME>GNOME_STOCK_MENU_NEW</NAME>
  7292. #define GNOME_STOCK_MENU_NEW          "Menu_New"
  7293. </MACRO>
  7294. <MACRO>
  7295. <NAME>GNOME_STOCK_MENU_SAVE</NAME>
  7296. #define GNOME_STOCK_MENU_SAVE         "Menu_Save"
  7297. </MACRO>
  7298. <MACRO>
  7299. <NAME>GNOME_STOCK_MENU_SAVE_AS</NAME>
  7300. #define GNOME_STOCK_MENU_SAVE_AS      "Menu_Save As"
  7301. </MACRO>
  7302. <MACRO>
  7303. <NAME>GNOME_STOCK_MENU_REVERT</NAME>
  7304. #define GNOME_STOCK_MENU_REVERT       "Menu_Revert"
  7305. </MACRO>
  7306. <MACRO>
  7307. <NAME>GNOME_STOCK_MENU_OPEN</NAME>
  7308. #define GNOME_STOCK_MENU_OPEN         "Menu_Open"
  7309. </MACRO>
  7310. <MACRO>
  7311. <NAME>GNOME_STOCK_MENU_CLOSE</NAME>
  7312. #define GNOME_STOCK_MENU_CLOSE        "Menu_Close"
  7313. </MACRO>
  7314. <MACRO>
  7315. <NAME>GNOME_STOCK_MENU_QUIT</NAME>
  7316. #define GNOME_STOCK_MENU_QUIT         "Menu_Quit"
  7317. </MACRO>
  7318. <MACRO>
  7319. <NAME>GNOME_STOCK_MENU_CUT</NAME>
  7320. #define GNOME_STOCK_MENU_CUT          "Menu_Cut"
  7321. </MACRO>
  7322. <MACRO>
  7323. <NAME>GNOME_STOCK_MENU_COPY</NAME>
  7324. #define GNOME_STOCK_MENU_COPY         "Menu_Copy"
  7325. </MACRO>
  7326. <MACRO>
  7327. <NAME>GNOME_STOCK_MENU_PASTE</NAME>
  7328. #define GNOME_STOCK_MENU_PASTE        "Menu_Paste"
  7329. </MACRO>
  7330. <MACRO>
  7331. <NAME>GNOME_STOCK_MENU_PROP</NAME>
  7332. #define GNOME_STOCK_MENU_PROP         "Menu_Properties"
  7333. </MACRO>
  7334. <MACRO>
  7335. <NAME>GNOME_STOCK_MENU_PREF</NAME>
  7336. #define GNOME_STOCK_MENU_PREF         "Menu_Preferences"
  7337. </MACRO>
  7338. <MACRO>
  7339. <NAME>GNOME_STOCK_MENU_ABOUT</NAME>
  7340. #define GNOME_STOCK_MENU_ABOUT        "Menu_About"
  7341. </MACRO>
  7342. <MACRO>
  7343. <NAME>GNOME_STOCK_MENU_SCORES</NAME>
  7344. #define GNOME_STOCK_MENU_SCORES       "Menu_Scores"
  7345. </MACRO>
  7346. <MACRO>
  7347. <NAME>GNOME_STOCK_MENU_UNDO</NAME>
  7348. #define GNOME_STOCK_MENU_UNDO         "Menu_Undo"
  7349. </MACRO>
  7350. <MACRO>
  7351. <NAME>GNOME_STOCK_MENU_REDO</NAME>
  7352. #define GNOME_STOCK_MENU_REDO         "Menu_Redo"
  7353. </MACRO>
  7354. <MACRO>
  7355. <NAME>GNOME_STOCK_MENU_PRINT</NAME>
  7356. #define GNOME_STOCK_MENU_PRINT        "Menu_Print"
  7357. </MACRO>
  7358. <MACRO>
  7359. <NAME>GNOME_STOCK_MENU_SEARCH</NAME>
  7360. #define GNOME_STOCK_MENU_SEARCH       "Menu_Search"
  7361. </MACRO>
  7362. <MACRO>
  7363. <NAME>GNOME_STOCK_MENU_SRCHRPL</NAME>
  7364. #define GNOME_STOCK_MENU_SRCHRPL      "Menu_Search/Replace"
  7365. </MACRO>
  7366. <MACRO>
  7367. <NAME>GNOME_STOCK_MENU_BACK</NAME>
  7368. #define GNOME_STOCK_MENU_BACK         "Menu_Back"
  7369. </MACRO>
  7370. <MACRO>
  7371. <NAME>GNOME_STOCK_MENU_FORWARD</NAME>
  7372. #define GNOME_STOCK_MENU_FORWARD      "Menu_Forward"
  7373. </MACRO>
  7374. <MACRO>
  7375. <NAME>GNOME_STOCK_MENU_FIRST</NAME>
  7376. #define GNOME_STOCK_MENU_FIRST        "Menu_First"
  7377. </MACRO>
  7378. <MACRO>
  7379. <NAME>GNOME_STOCK_MENU_LAST</NAME>
  7380. #define GNOME_STOCK_MENU_LAST         "Menu_Last"
  7381. </MACRO>
  7382. <MACRO>
  7383. <NAME>GNOME_STOCK_MENU_HOME</NAME>
  7384. #define GNOME_STOCK_MENU_HOME         "Menu_Home"
  7385. </MACRO>
  7386. <MACRO>
  7387. <NAME>GNOME_STOCK_MENU_STOP</NAME>
  7388. #define GNOME_STOCK_MENU_STOP         "Menu_Stop"
  7389. </MACRO>
  7390. <MACRO>
  7391. <NAME>GNOME_STOCK_MENU_REFRESH</NAME>
  7392. #define GNOME_STOCK_MENU_REFRESH      "Menu_Refresh"
  7393. </MACRO>
  7394. <MACRO>
  7395. <NAME>GNOME_STOCK_MENU_MAIL</NAME>
  7396. #define GNOME_STOCK_MENU_MAIL         "Menu_Mail"
  7397. </MACRO>
  7398. <MACRO>
  7399. <NAME>GNOME_STOCK_MENU_MAIL_RCV</NAME>
  7400. #define GNOME_STOCK_MENU_MAIL_RCV     "Menu_Receive Mail"
  7401. </MACRO>
  7402. <MACRO>
  7403. <NAME>GNOME_STOCK_MENU_MAIL_SND</NAME>
  7404. #define GNOME_STOCK_MENU_MAIL_SND     "Menu_Send Mail"
  7405. </MACRO>
  7406. <MACRO>
  7407. <NAME>GNOME_STOCK_MENU_MAIL_RPL</NAME>
  7408. #define GNOME_STOCK_MENU_MAIL_RPL     "Menu_Reply to Mail"
  7409. </MACRO>
  7410. <MACRO>
  7411. <NAME>GNOME_STOCK_MENU_MAIL_FWD</NAME>
  7412. #define GNOME_STOCK_MENU_MAIL_FWD     "Menu_Forward Mail"
  7413. </MACRO>
  7414. <MACRO>
  7415. <NAME>GNOME_STOCK_MENU_MAIL_NEW</NAME>
  7416. #define GNOME_STOCK_MENU_MAIL_NEW     "Menu_New Mail"
  7417. </MACRO>
  7418. <MACRO>
  7419. <NAME>GNOME_STOCK_MENU_TRASH</NAME>
  7420. #define GNOME_STOCK_MENU_TRASH        "Menu_Trash"
  7421. </MACRO>
  7422. <MACRO>
  7423. <NAME>GNOME_STOCK_MENU_TRASH_FULL</NAME>
  7424. #define GNOME_STOCK_MENU_TRASH_FULL   "Menu_Trash Full"
  7425. </MACRO>
  7426. <MACRO>
  7427. <NAME>GNOME_STOCK_MENU_UNDELETE</NAME>
  7428. #define GNOME_STOCK_MENU_UNDELETE     "Menu_Undelete"
  7429. </MACRO>
  7430. <MACRO>
  7431. <NAME>GNOME_STOCK_MENU_TIMER</NAME>
  7432. #define GNOME_STOCK_MENU_TIMER        "Menu_Timer"
  7433. </MACRO>
  7434. <MACRO>
  7435. <NAME>GNOME_STOCK_MENU_TIMER_STOP</NAME>
  7436. #define GNOME_STOCK_MENU_TIMER_STOP   "Menu_Timer Stopped"
  7437. </MACRO>
  7438. <MACRO>
  7439. <NAME>GNOME_STOCK_MENU_SPELLCHECK</NAME>
  7440. #define GNOME_STOCK_MENU_SPELLCHECK   "Menu_Spellchecker"
  7441. </MACRO>
  7442. <MACRO>
  7443. <NAME>GNOME_STOCK_MENU_MIC</NAME>
  7444. #define GNOME_STOCK_MENU_MIC          "Menu_Microphone"
  7445. </MACRO>
  7446. <MACRO>
  7447. <NAME>GNOME_STOCK_MENU_LINE_IN</NAME>
  7448. #define GNOME_STOCK_MENU_LINE_IN      "Menu_Line In"
  7449. </MACRO>
  7450. <MACRO>
  7451. <NAME>GNOME_STOCK_MENU_CDROM</NAME>
  7452. #define GNOME_STOCK_MENU_CDROM         "Menu_Cdrom"
  7453. </MACRO>
  7454. <MACRO>
  7455. <NAME>GNOME_STOCK_MENU_VOLUME</NAME>
  7456. #define GNOME_STOCK_MENU_VOLUME       "Menu_Volume"
  7457. </MACRO>
  7458. <MACRO>
  7459. <NAME>GNOME_STOCK_MENU_MIDI</NAME>
  7460. #define GNOME_STOCK_MENU_MIDI         "Menu_Midi"
  7461. </MACRO>
  7462. <MACRO>
  7463. <NAME>GNOME_STOCK_MENU_BOOK_RED</NAME>
  7464. #define GNOME_STOCK_MENU_BOOK_RED     "Menu_Book Red"
  7465. </MACRO>
  7466. <MACRO>
  7467. <NAME>GNOME_STOCK_MENU_BOOK_GREEN</NAME>
  7468. #define GNOME_STOCK_MENU_BOOK_GREEN   "Menu_Book Green"
  7469. </MACRO>
  7470. <MACRO>
  7471. <NAME>GNOME_STOCK_MENU_BOOK_BLUE</NAME>
  7472. #define GNOME_STOCK_MENU_BOOK_BLUE    "Menu_Book Blue"
  7473. </MACRO>
  7474. <MACRO>
  7475. <NAME>GNOME_STOCK_MENU_BOOK_YELLOW</NAME>
  7476. #define GNOME_STOCK_MENU_BOOK_YELLOW  "Menu_Book Yellow"
  7477. </MACRO>
  7478. <MACRO>
  7479. <NAME>GNOME_STOCK_MENU_BOOK_OPEN</NAME>
  7480. #define GNOME_STOCK_MENU_BOOK_OPEN    "Menu_Book Open"
  7481. </MACRO>
  7482. <MACRO>
  7483. <NAME>GNOME_STOCK_MENU_CONVERT</NAME>
  7484. #define GNOME_STOCK_MENU_CONVERT      "Menu_Convert"
  7485. </MACRO>
  7486. <MACRO>
  7487. <NAME>GNOME_STOCK_MENU_JUMP_TO</NAME>
  7488. #define GNOME_STOCK_MENU_JUMP_TO      "Menu_Jump To"
  7489. </MACRO>
  7490. <MACRO>
  7491. <NAME>GNOME_STOCK_MENU_UP</NAME>
  7492. #define GNOME_STOCK_MENU_UP           "Menu_Up"
  7493. </MACRO>
  7494. <MACRO>
  7495. <NAME>GNOME_STOCK_MENU_DOWN</NAME>
  7496. #define GNOME_STOCK_MENU_DOWN         "Menu_Down"
  7497. </MACRO>
  7498. <MACRO>
  7499. <NAME>GNOME_STOCK_MENU_TOP</NAME>
  7500. #define GNOME_STOCK_MENU_TOP          "Menu_Top"
  7501. </MACRO>
  7502. <MACRO>
  7503. <NAME>GNOME_STOCK_MENU_BOTTOM</NAME>
  7504. #define GNOME_STOCK_MENU_BOTTOM       "Menu_Bottom"
  7505. </MACRO>
  7506. <MACRO>
  7507. <NAME>GNOME_STOCK_MENU_ATTACH</NAME>
  7508. #define GNOME_STOCK_MENU_ATTACH       "Menu_Attach"
  7509. </MACRO>
  7510. <MACRO>
  7511. <NAME>GNOME_STOCK_MENU_INDEX</NAME>
  7512. #define GNOME_STOCK_MENU_INDEX        "Menu_Index"
  7513. </MACRO>
  7514. <MACRO>
  7515. <NAME>GNOME_STOCK_MENU_FONT</NAME>
  7516. #define GNOME_STOCK_MENU_FONT         "Menu_Font"
  7517. </MACRO>
  7518. <MACRO>
  7519. <NAME>GNOME_STOCK_MENU_EXEC</NAME>
  7520. #define GNOME_STOCK_MENU_EXEC         "Menu_Exec"
  7521. </MACRO>
  7522. <MACRO>
  7523. <NAME>GNOME_STOCK_MENU_ALIGN_LEFT</NAME>
  7524. #define GNOME_STOCK_MENU_ALIGN_LEFT     "Menu_Left"
  7525. </MACRO>
  7526. <MACRO>
  7527. <NAME>GNOME_STOCK_MENU_ALIGN_RIGHT</NAME>
  7528. #define GNOME_STOCK_MENU_ALIGN_RIGHT    "Menu_Right"
  7529. </MACRO>
  7530. <MACRO>
  7531. <NAME>GNOME_STOCK_MENU_ALIGN_CENTER</NAME>
  7532. #define GNOME_STOCK_MENU_ALIGN_CENTER   "Menu_Center"
  7533. </MACRO>
  7534. <MACRO>
  7535. <NAME>GNOME_STOCK_MENU_ALIGN_JUSTIFY</NAME>
  7536. #define GNOME_STOCK_MENU_ALIGN_JUSTIFY  "Menu_Justify"
  7537. </MACRO>
  7538. <MACRO>
  7539. <NAME>GNOME_STOCK_MENU_TEXT_BOLD</NAME>
  7540. #define GNOME_STOCK_MENU_TEXT_BOLD      "Menu_Bold"
  7541. </MACRO>
  7542. <MACRO>
  7543. <NAME>GNOME_STOCK_MENU_TEXT_ITALIC</NAME>
  7544. #define GNOME_STOCK_MENU_TEXT_ITALIC    "Menu_Italic"
  7545. </MACRO>
  7546. <MACRO>
  7547. <NAME>GNOME_STOCK_MENU_TEXT_UNDERLINE</NAME>
  7548. #define GNOME_STOCK_MENU_TEXT_UNDERLINE "Menu_Underline"
  7549. </MACRO>
  7550. <MACRO>
  7551. <NAME>GNOME_STOCK_MENU_TEXT_STRIKEOUT</NAME>
  7552. #define GNOME_STOCK_MENU_TEXT_STRIKEOUT "Menu_Strikeout"
  7553. </MACRO>
  7554. <MACRO>
  7555. <NAME>GNOME_STOCK_MENU_EXIT</NAME>
  7556. #define GNOME_STOCK_MENU_EXIT     GNOME_STOCK_MENU_QUIT
  7557. </MACRO>
  7558. <FUNCTION>
  7559. <NAME>gnome_stock_menu_item</NAME>
  7560. <RETURNS>GtkWidget              *</RETURNS>
  7561. const char *type,const char *text
  7562. </FUNCTION>
  7563. <FUNCTION>
  7564. <NAME>gnome_stock_menu_accel</NAME>
  7565. <RETURNS>gboolean     </RETURNS>
  7566. const char *type,guchar *key,guint8 *mod
  7567. </FUNCTION>
  7568. <FUNCTION>
  7569. <NAME>gnome_stock_menu_accel_parse</NAME>
  7570. <RETURNS>void  </RETURNS>
  7571. const char *section
  7572. </FUNCTION>
  7573. <FUNCTION>
  7574. <NAME>gnome_stock_transparent_window</NAME>
  7575. <RETURNS>GtkWidget  *</RETURNS>
  7576. const char *icon, const char *subtype
  7577. </FUNCTION>
  7578. <FUNCTION>
  7579. <NAME>gnome_stock_pixmap_gdk</NAME>
  7580. <RETURNS>void  </RETURNS>
  7581. const char *icon,const char *subtype,GdkPixmap **pixmap,GdkPixmap **mask
  7582. </FUNCTION>
  7583. <USER_FUNCTION>
  7584. <NAME>GnomeStringCallback</NAME>
  7585. <RETURNS>void </RETURNS>
  7586. gchar * string, gpointer data
  7587. </USER_FUNCTION>
  7588. <USER_FUNCTION>
  7589. <NAME>GnomeReplyCallback</NAME>
  7590. <RETURNS>void </RETURNS>
  7591. gint reply, gpointer data
  7592. </USER_FUNCTION>
  7593. <ENUM>
  7594. <NAME>GnomePreferencesType</NAME>
  7595. typedef enum {
  7596.   GNOME_PREFERENCES_NEVER,
  7597.   GNOME_PREFERENCES_USER,
  7598.   GNOME_PREFERENCES_ALWAYS
  7599. } GnomePreferencesType;
  7600. </ENUM>
  7601. <MACRO>
  7602. <NAME>GNOME_PAD</NAME>
  7603. #define GNOME_PAD          8
  7604. </MACRO>
  7605. <MACRO>
  7606. <NAME>GNOME_PAD_SMALL</NAME>
  7607. #define GNOME_PAD_SMALL    4
  7608. </MACRO>
  7609. <MACRO>
  7610. <NAME>GNOME_PAD_BIG</NAME>
  7611. #define GNOME_PAD_BIG      12
  7612. </MACRO>
  7613. <MACRO>
  7614. <NAME>GNOME_YES</NAME>
  7615. #define GNOME_YES 0 
  7616. </MACRO>
  7617. <MACRO>
  7618. <NAME>GNOME_NO</NAME>
  7619. #define GNOME_NO 1 
  7620. </MACRO>
  7621. <MACRO>
  7622. <NAME>GNOME_OK</NAME>
  7623. #define GNOME_OK 0
  7624. </MACRO>
  7625. <MACRO>
  7626. <NAME>GNOME_CANCEL</NAME>
  7627. #define GNOME_CANCEL 1
  7628. </MACRO>
  7629. <MACRO>
  7630. <NAME>GNOME_KEY_NAME_EXIT</NAME>
  7631. #define GNOME_KEY_NAME_EXIT             'Q'
  7632. </MACRO>
  7633. <MACRO>
  7634. <NAME>GNOME_KEY_MOD_EXIT</NAME>
  7635. #define GNOME_KEY_MOD_EXIT            (GDK_CONTROL_MASK)
  7636. </MACRO>
  7637. <MACRO>
  7638. <NAME>GNOME_KEY_NAME_CLOSE</NAME>
  7639. #define GNOME_KEY_NAME_CLOSE             'W'
  7640. </MACRO>
  7641. <MACRO>
  7642. <NAME>GNOME_KEY_MOD_CLOSE</NAME>
  7643. #define    GNOME_KEY_MOD_CLOSE            (GDK_CONTROL_MASK)
  7644. </MACRO>
  7645. <MACRO>
  7646. <NAME>GNOME_KEY_NAME_CUT</NAME>
  7647. #define GNOME_KEY_NAME_CUT             'X'
  7648. </MACRO>
  7649. <MACRO>
  7650. <NAME>GNOME_KEY_MOD_CUT</NAME>
  7651. #define GNOME_KEY_MOD_CUT             (GDK_CONTROL_MASK)
  7652. </MACRO>
  7653. <MACRO>
  7654. <NAME>GNOME_KEY_NAME_COPY</NAME>
  7655. #define GNOME_KEY_NAME_COPY            'C'
  7656. </MACRO>
  7657. <MACRO>
  7658. <NAME>GNOME_KEY_MOD_COPY</NAME>
  7659. #define GNOME_KEY_MOD_COPY            (GDK_CONTROL_MASK)
  7660. </MACRO>
  7661. <MACRO>
  7662. <NAME>GNOME_KEY_NAME_PASTE</NAME>
  7663. #define GNOME_KEY_NAME_PASTE             'V'
  7664. </MACRO>
  7665. <MACRO>
  7666. <NAME>GNOME_KEY_MOD_PASTE</NAME>
  7667. #define GNOME_KEY_MOD_PASTE             (GDK_CONTROL_MASK)
  7668. </MACRO>
  7669. <MACRO>
  7670. <NAME>GNOME_KEY_NAME_SELECT_ALL</NAME>
  7671. #define GNOME_KEY_NAME_SELECT_ALL       0
  7672. </MACRO>
  7673. <MACRO>
  7674. <NAME>GNOME_KEY_MOD_SELECT_ALL</NAME>
  7675. #define GNOME_KEY_MOD_SELECT_ALL        (0)
  7676. </MACRO>
  7677. <MACRO>
  7678. <NAME>GNOME_KEY_NAME_CLEAR</NAME>
  7679. #define GNOME_KEY_NAME_CLEAR             0
  7680. </MACRO>
  7681. <MACRO>
  7682. <NAME>GNOME_KEY_MOD_CLEAR</NAME>
  7683. #define GNOME_KEY_MOD_CLEAR             (0)
  7684. </MACRO>
  7685. <MACRO>
  7686. <NAME>GNOME_KEY_NAME_UNDO</NAME>
  7687. #define GNOME_KEY_NAME_UNDO              'Z'
  7688. </MACRO>
  7689. <MACRO>
  7690. <NAME>GNOME_KEY_MOD_UNDO</NAME>
  7691. #define GNOME_KEY_MOD_UNDO              (GDK_CONTROL_MASK)
  7692. </MACRO>
  7693. <MACRO>
  7694. <NAME>GNOME_KEY_NAME_REDO</NAME>
  7695. #define GNOME_KEY_NAME_REDO            'R'
  7696. </MACRO>
  7697. <MACRO>
  7698. <NAME>GNOME_KEY_MOD_REDO</NAME>
  7699. #define GNOME_KEY_MOD_REDO            (GDK_CONTROL_MASK)
  7700. </MACRO>
  7701. <MACRO>
  7702. <NAME>GNOME_KEY_NAME_SAVE</NAME>
  7703. #define GNOME_KEY_NAME_SAVE            'S'
  7704. </MACRO>
  7705. <MACRO>
  7706. <NAME>GNOME_KEY_MOD_SAVE</NAME>
  7707. #define GNOME_KEY_MOD_SAVE            (GDK_CONTROL_MASK)
  7708. </MACRO>
  7709. <MACRO>
  7710. <NAME>GNOME_KEY_NAME_OPEN</NAME>
  7711. #define GNOME_KEY_NAME_OPEN            GDK_F3
  7712. </MACRO>
  7713. <MACRO>
  7714. <NAME>GNOME_KEY_MOD_OPEN</NAME>
  7715. #define GNOME_KEY_MOD_OPEN            (0)
  7716. </MACRO>
  7717. <MACRO>
  7718. <NAME>GNOME_KEY_NAME_SAVE_AS</NAME>
  7719. #define GNOME_KEY_NAME_SAVE_AS            0
  7720. </MACRO>
  7721. <MACRO>
  7722. <NAME>GNOME_KEY_MOD_SAVE_AS</NAME>
  7723. #define GNOME_KEY_MOD_SAVE_AS           (0)
  7724. </MACRO>
  7725. <MACRO>
  7726. <NAME>GNOME_KEY_NAME_NEW</NAME>
  7727. #define GNOME_KEY_NAME_NEW            0
  7728. </MACRO>
  7729. <MACRO>
  7730. <NAME>GNOME_KEY_MOD_NEW</NAME>
  7731. #define GNOME_KEY_MOD_NEW            (0)
  7732. </MACRO>
  7733. <MACRO>
  7734. <NAME>GNOME_KEY_NAME_PRINT</NAME>
  7735. #define GNOME_KEY_NAME_PRINT            0
  7736. </MACRO>
  7737. <MACRO>
  7738. <NAME>GNOME_KEY_MOD_PRINT</NAME>
  7739. #define GNOME_KEY_MOD_PRINT             (0)
  7740. </MACRO>
  7741. <MACRO>
  7742. <NAME>GNOME_KEY_NAME_PRINT_SETUP</NAME>
  7743. #define GNOME_KEY_NAME_PRINT_SETUP      0
  7744. </MACRO>
  7745. <MACRO>
  7746. <NAME>GNOME_KEY_MOD_PRINT_SETUP</NAME>
  7747. #define GNOME_KEY_MOD_PRINT_SETUP       (0)
  7748. </MACRO>
  7749. <MACRO>
  7750. <NAME>GNOME_KEY_NAME_FIND</NAME>
  7751. #define GNOME_KEY_NAME_FIND             GDK_F6
  7752. </MACRO>
  7753. <MACRO>
  7754. <NAME>GNOME_KEY_MOD_FIND</NAME>
  7755. #define GNOME_KEY_MOD_FIND              (0)
  7756. </MACRO>
  7757. <MACRO>
  7758. <NAME>GNOME_KEY_NAME_FIND_AGAIN</NAME>
  7759. #define GNOME_KEY_NAME_FIND_AGAIN       GDK_F6
  7760. </MACRO>
  7761. <MACRO>
  7762. <NAME>GNOME_KEY_MOD_FIND_AGAIN</NAME>
  7763. #define GNOME_KEY_MOD_FIND_AGAIN        (GDK_SHIFT_MASK)
  7764. </MACRO>
  7765. <MACRO>
  7766. <NAME>GNOME_KEY_NAME_REPLACE</NAME>
  7767. #define GNOME_KEY_NAME_REPLACE          GDK_F7
  7768. </MACRO>
  7769. <MACRO>
  7770. <NAME>GNOME_KEY_MOD_REPLACE</NAME>
  7771. #define GNOME_KEY_MOD_REPLACE           (0)
  7772. </MACRO>
  7773. <MACRO>
  7774. <NAME>GNOME_KEY_NAME_NEW_WINDOW</NAME>
  7775. #define GNOME_KEY_NAME_NEW_WINDOW       0
  7776. </MACRO>
  7777. <MACRO>
  7778. <NAME>GNOME_KEY_MOD_NEW_WINDOW</NAME>
  7779. #define GNOME_KEY_MOD_NEW_WINDOW        (0)
  7780. </MACRO>
  7781. <MACRO>
  7782. <NAME>GNOME_KEY_NAME_CLOSE_WINDOW</NAME>
  7783. #define GNOME_KEY_NAME_CLOSE_WINDOW     0
  7784. </MACRO>
  7785. <MACRO>
  7786. <NAME>GNOME_KEY_MOD_CLOSE_WINDOW</NAME>
  7787. #define GNOME_KEY_MOD_CLOSE_WINDOW      (0)
  7788. </MACRO>
  7789. <MACRO>
  7790. <NAME>GNOME_KEY_NAME_REDO_MOVE</NAME>
  7791. #define GNOME_KEY_NAME_REDO_MOVE        'R'
  7792. </MACRO>
  7793. <MACRO>
  7794. <NAME>GNOME_KEY_MOD_REDO_MOVE</NAME>
  7795. #define GNOME_KEY_MOD_REDO_MOVE         (GDK_CONTROL_MASK)
  7796. </MACRO>
  7797. <MACRO>
  7798. <NAME>GNOME_KEY_NAME_UNDO_MOVE</NAME>
  7799. #define GNOME_KEY_NAME_UNDO_MOVE        'Z'
  7800. </MACRO>
  7801. <MACRO>
  7802. <NAME>GNOME_KEY_MOD_UNDO_MOVE</NAME>
  7803. #define GNOME_KEY_MOD_UNDO_MOVE         (GDK_CONTROL_MASK)
  7804. </MACRO>
  7805. <MACRO>
  7806. <NAME>GNOME_KEY_NAME_PAUSE_GAME</NAME>
  7807. #define GNOME_KEY_NAME_PAUSE_GAME       0
  7808. </MACRO>
  7809. <MACRO>
  7810. <NAME>GNOME_KEY_MOD_PAUSE_GAME</NAME>
  7811. #define GNOME_KEY_MOD_PAUSE_GAME        (0)
  7812. </MACRO>
  7813. <MACRO>
  7814. <NAME>GNOME_KEY_NAME_NEW_GAME</NAME>
  7815. #define GNOME_KEY_NAME_NEW_GAME         'N'
  7816. </MACRO>
  7817. <MACRO>
  7818. <NAME>GNOME_KEY_MOD_NEW_GAME</NAME>
  7819. #define GNOME_KEY_MOD_NEW_GAME          (GDK_CONTROL_MASK)
  7820. </MACRO>
  7821. <MACRO>
  7822. <NAME>XA_WIN_PROTOCOLS</NAME>
  7823. #define XA_WIN_PROTOCOLS           "_WIN_PROTOCOLS"
  7824. </MACRO>
  7825. <MACRO>
  7826. <NAME>XA_WIN_ICONS</NAME>
  7827. #define XA_WIN_ICONS               "_WIN_ICONS"
  7828. </MACRO>
  7829. <MACRO>
  7830. <NAME>XA_WIN_WORKSPACE</NAME>
  7831. #define XA_WIN_WORKSPACE           "_WIN_WORKSPACE"
  7832. </MACRO>
  7833. <MACRO>
  7834. <NAME>XA_WIN_WORKSPACE_COUNT</NAME>
  7835. #define XA_WIN_WORKSPACE_COUNT     "_WIN_WORKSPACE_COUNT"
  7836. </MACRO>
  7837. <MACRO>
  7838. <NAME>XA_WIN_WORKSPACE_NAMES</NAME>
  7839. #define XA_WIN_WORKSPACE_NAMES     "_WIN_WORKSPACE_NAMES"    
  7840. </MACRO>
  7841. <MACRO>
  7842. <NAME>XA_WIN_LAYER</NAME>
  7843. #define XA_WIN_LAYER               "_WIN_LAYER"
  7844. </MACRO>
  7845. <MACRO>
  7846. <NAME>XA_WIN_STATE</NAME>
  7847. #define XA_WIN_STATE               "_WIN_STATE"
  7848. </MACRO>
  7849. <MACRO>
  7850. <NAME>XA_WIN_HINTS</NAME>
  7851. #define XA_WIN_HINTS               "_WIN_HINTS"
  7852. </MACRO>
  7853. <MACRO>
  7854. <NAME>XA_WIN_WORKAREA</NAME>
  7855. #define XA_WIN_WORKAREA            "_WIN_WORKAREA"
  7856. </MACRO>
  7857. <MACRO>
  7858. <NAME>XA_WIN_CLIENT_LIST</NAME>
  7859. #define XA_WIN_CLIENT_LIST         "_WIN_CLIENT_LIST"
  7860. </MACRO>
  7861. <MACRO>
  7862. <NAME>XA_WIN_APP_STATE</NAME>
  7863. #define XA_WIN_APP_STATE           "_WIN_APP_STATE"
  7864. </MACRO>
  7865. <MACRO>
  7866. <NAME>XA_WIN_EXPANDED_SIZE</NAME>
  7867. #define XA_WIN_EXPANDED_SIZE       "_WIN_EXPANDED_SIZE"
  7868. </MACRO>
  7869. <MACRO>
  7870. <NAME>XA_WIN_CLIENT_MOVING</NAME>
  7871. #define XA_WIN_CLIENT_MOVING       "_WIN_CLIENT_MOVING"
  7872. </MACRO>
  7873. <MACRO>
  7874. <NAME>XA_WIN_SUPPORTING_WM_CHECK</NAME>
  7875. #define XA_WIN_SUPPORTING_WM_CHECK "_WIN_SUPPORTING_WM_CHECK"
  7876. </MACRO>
  7877. <ENUM>
  7878. <NAME>GnomeWinLayer</NAME>
  7879. typedef enum
  7880. {
  7881.   WIN_LAYER_DESKTOP     = 0,
  7882.   WIN_LAYER_BELOW       = 2,
  7883.   WIN_LAYER_NORMAL      = 4,
  7884.   WIN_LAYER_ONTOP       = 6,
  7885.   WIN_LAYER_DOCK        = 8,
  7886.   WIN_LAYER_ABOVE_DOCK  = 10
  7887. } GnomeWinLayer;
  7888. </ENUM>
  7889. <ENUM>
  7890. <NAME>GnomeWinState</NAME>
  7891. typedef enum
  7892. {
  7893.   WIN_STATE_STICKY          = (1<<0), /* everyone knows sticky */
  7894.   WIN_STATE_MINIMIZED       = (1<<1), /* ??? */
  7895.   WIN_STATE_MAXIMIZED_VERT  = (1<<2), /* window in maximized V state */
  7896.   WIN_STATE_MAXIMIZED_HORIZ = (1<<3), /* window in maximized H state */
  7897.   WIN_STATE_HIDDEN          = (1<<4), /* not on taskbar but window visible */
  7898.   WIN_STATE_SHADED          = (1<<5), /* shaded (NeXT style) */
  7899.   WIN_STATE_HID_WORKSPACE   = (1<<6), /* not on current desktop */
  7900.   WIN_STATE_HID_TRANSIENT   = (1<<7), /* owner of transient is hidden */
  7901.   WIN_STATE_FIXED_POSITION  = (1<<8), /* window is fixed in position even */
  7902.   WIN_STATE_ARRANGE_IGNORE  = (1<<9)  /* ignore for auto arranging */
  7903. } GnomeWinState;
  7904. </ENUM>
  7905. <ENUM>
  7906. <NAME>GnomeWinHints</NAME>
  7907. typedef enum
  7908. {
  7909.   WIN_HINTS_SKIP_FOCUS      = (1<<0), /* "alt-tab" skips this win */
  7910.   WIN_HINTS_SKIP_WINLIST    = (1<<1), /* not in win list */
  7911.   WIN_HINTS_SKIP_TASKBAR    = (1<<2), /* not on taskbar */
  7912.   WIN_HINTS_GROUP_TRANSIENT = (1<<3), /* ??????? */
  7913.   WIN_HINTS_FOCUS_ON_CLICK  = (1<<4), /* app only accepts focus when clicked */
  7914.   WIN_HINTS_DO_NOT_COVER    = (1<<5)  /* attempt to not cover this window */
  7915. } GnomeWinHints;
  7916. </ENUM>
  7917. <ENUM>
  7918. <NAME>GnomeWinAppState</NAME>
  7919. typedef enum
  7920. {
  7921.   WIN_APP_STATE_NONE,
  7922.   WIN_APP_STATE_ACTIVE1,
  7923.   WIN_APP_STATE_ACTIVE2,
  7924.   WIN_APP_STATE_ERROR1,
  7925.   WIN_APP_STATE_ERROR2,
  7926.   WIN_APP_STATE_FATAL_ERROR1,
  7927.   WIN_APP_STATE_FATAL_ERROR2,
  7928.   WIN_APP_STATE_IDLE1,
  7929.   WIN_APP_STATE_IDLE2,
  7930.   WIN_APP_STATE_WAITING1,
  7931.   WIN_APP_STATE_WAITING2,
  7932.   WIN_APP_STATE_WORKING1,
  7933.   WIN_APP_STATE_WORKING2,
  7934.   WIN_APP_STATE_NEED_USER_INPUT1,
  7935.   WIN_APP_STATE_NEED_USER_INPUT2,
  7936.   WIN_APP_STATE_STRUGGLING1,
  7937.   WIN_APP_STATE_STRUGGLING2,
  7938.   WIN_APP_STATE_DISK_TRAFFIC1,
  7939.   WIN_APP_STATE_DISK_TRAFFIC2,
  7940.   WIN_APP_STATE_NETWORK_TRAFFIC1,
  7941.   WIN_APP_STATE_NETWORK_TRAFFIC2,
  7942.   WIN_APP_STATE_OVERLOADED1,
  7943.   WIN_APP_STATE_OVERLOADED2,
  7944.   WIN_APP_STATE_PERCENT000_1,
  7945.   WIN_APP_STATE_PERCENT000_2,
  7946.   WIN_APP_STATE_PERCENT010_1,
  7947.   WIN_APP_STATE_PERCENT010_2,
  7948.   WIN_APP_STATE_PERCENT020_1,
  7949.   WIN_APP_STATE_PERCENT020_2,
  7950.   WIN_APP_STATE_PERCENT030_1,
  7951.   WIN_APP_STATE_PERCENT030_2,
  7952.   WIN_APP_STATE_PERCENT040_1,
  7953.   WIN_APP_STATE_PERCENT040_2,
  7954.   WIN_APP_STATE_PERCENT050_1,
  7955.   WIN_APP_STATE_PERCENT050_2,
  7956.   WIN_APP_STATE_PERCENT060_1,
  7957.   WIN_APP_STATE_PERCENT060_2,
  7958.   WIN_APP_STATE_PERCENT070_1,
  7959.   WIN_APP_STATE_PERCENT070_2,
  7960.   WIN_APP_STATE_PERCENT080_1,
  7961.   WIN_APP_STATE_PERCENT080_2,
  7962.   WIN_APP_STATE_PERCENT090_1,
  7963.   WIN_APP_STATE_PERCENT090_2,
  7964.   WIN_APP_STATE_PERCENT100_1,
  7965.   WIN_APP_STATE_PERCENT100_2
  7966. } GnomeWinAppState;
  7967. </ENUM>
  7968. <FUNCTION>
  7969. <NAME>gnome_win_hints_init</NAME>
  7970. <RETURNS>void</RETURNS>
  7971. void
  7972. </FUNCTION>
  7973. <FUNCTION>
  7974. <NAME>gnome_win_hints_set_layer</NAME>
  7975. <RETURNS>void</RETURNS>
  7976. GtkWidget *window, GnomeWinLayer layer
  7977. </FUNCTION>
  7978. <FUNCTION>
  7979. <NAME>gnome_win_hints_get_layer</NAME>
  7980. <RETURNS>GnomeWinLayer</RETURNS>
  7981. GtkWidget *window
  7982. </FUNCTION>
  7983. <FUNCTION>
  7984. <NAME>gnome_win_hints_set_state</NAME>
  7985. <RETURNS>void</RETURNS>
  7986. GtkWidget *window, GnomeWinState state
  7987. </FUNCTION>
  7988. <FUNCTION>
  7989. <NAME>gnome_win_hints_get_state</NAME>
  7990. <RETURNS>GnomeWinState</RETURNS>
  7991. GtkWidget *window
  7992. </FUNCTION>
  7993. <FUNCTION>
  7994. <NAME>gnome_win_hints_set_hints</NAME>
  7995. <RETURNS>void</RETURNS>
  7996. GtkWidget *window, GnomeWinHints skip
  7997. </FUNCTION>
  7998. <FUNCTION>
  7999. <NAME>gnome_win_hints_get_hints</NAME>
  8000. <RETURNS>GnomeWinHints</RETURNS>
  8001. GtkWidget *window
  8002. </FUNCTION>
  8003. <FUNCTION>
  8004. <NAME>gnome_win_hints_set_workspace</NAME>
  8005. <RETURNS>void</RETURNS>
  8006. GtkWidget *window, gint workspace
  8007. </FUNCTION>
  8008. <FUNCTION>
  8009. <NAME>gnome_win_hints_get_workspace</NAME>
  8010. <RETURNS>gint</RETURNS>
  8011. GtkWidget *window
  8012. </FUNCTION>
  8013. <FUNCTION>
  8014. <NAME>gnome_win_hints_set_current_workspace</NAME>
  8015. <RETURNS>void</RETURNS>
  8016. gint workspace
  8017. </FUNCTION>
  8018. <FUNCTION>
  8019. <NAME>gnome_win_hints_get_current_workspace</NAME>
  8020. <RETURNS>gint</RETURNS>
  8021. void
  8022. </FUNCTION>
  8023. <FUNCTION>
  8024. <NAME>gnome_win_hints_get_workspace_names</NAME>
  8025. <RETURNS>GList *</RETURNS>
  8026. void
  8027. </FUNCTION>
  8028. <FUNCTION>
  8029. <NAME>gnome_win_hints_get_workspace_count</NAME>
  8030. <RETURNS>gint</RETURNS>
  8031. void
  8032. </FUNCTION>
  8033. <FUNCTION>
  8034. <NAME>gnome_win_hints_set_expanded_size</NAME>
  8035. <RETURNS>void</RETURNS>
  8036. GtkWidget *window, gint x, gint y, gint width, gint height
  8037. </FUNCTION>
  8038. <FUNCTION>
  8039. <NAME>gnome_win_hints_get_expanded_size</NAME>
  8040. <RETURNS>gboolean</RETURNS>
  8041. GtkWidget *window, gint *x, gint *y, gint *width, gint *height
  8042. </FUNCTION>
  8043. <FUNCTION>
  8044. <NAME>gnome_win_hints_set_moving</NAME>
  8045. <RETURNS>void</RETURNS>
  8046. GtkWidget *window, gboolean moving
  8047. </FUNCTION>
  8048. <FUNCTION>
  8049. <NAME>gnome_win_hints_set_app_state</NAME>
  8050. <RETURNS>void</RETURNS>
  8051. GtkWidget *window,  GnomeWinAppState state
  8052. </FUNCTION>
  8053. <FUNCTION>
  8054. <NAME>gnome_win_hints_get_app_state</NAME>
  8055. <RETURNS>GnomeWinAppState</RETURNS>
  8056. GtkWidget *window
  8057. </FUNCTION>
  8058. <FUNCTION>
  8059. <NAME>gnome_win_hints_set_moving</NAME>
  8060. <RETURNS>void</RETURNS>
  8061. GtkWidget *window, gboolean moving
  8062. </FUNCTION>
  8063. <FUNCTION>
  8064. <NAME>gnome_win_hints_wm_exists</NAME>
  8065. <RETURNS>gboolean</RETURNS>
  8066. void
  8067. </FUNCTION>
  8068. <FUNCTION>
  8069. <NAME>gnome_win_hints_get_client_window_ids</NAME>
  8070. <RETURNS>GList *</RETURNS>
  8071. void
  8072. </FUNCTION>
  8073. <MACRO>
  8074. <NAME>GTK_CLOCK</NAME>
  8075. #define GTK_CLOCK(obj) GTK_CHECK_CAST(obj, gtk_clock_get_type(), GtkClock)
  8076. </MACRO>
  8077. <MACRO>
  8078. <NAME>GTK_CLOCK_CLASS</NAME>
  8079. #define GTK_CLOCK_CLASS(class) GTK_CHECK_CAST_CLASS(class, gtk_clock_get_type(), GtkClockClass)
  8080. </MACRO>
  8081. <MACRO>
  8082. <NAME>GTK_IS_CLOCK</NAME>
  8083. #define GTK_IS_CLOCK(obj) GTK_CHECK_TYPE(obj, gtk_clock_get_type())
  8084. </MACRO>
  8085. <STRUCT>
  8086. <NAME>GtkClock</NAME>
  8087. </STRUCT>
  8088. <STRUCT>
  8089. <NAME>GtkClockClass</NAME>
  8090. </STRUCT>
  8091. <ENUM>
  8092. <NAME>GtkClockType</NAME>
  8093. typedef enum
  8094. {
  8095.     GTK_CLOCK_INCREASING,
  8096.     GTK_CLOCK_DECREASING,
  8097.     GTK_CLOCK_REALTIME
  8098. } GtkClockType;
  8099. </ENUM>
  8100. <STRUCT>
  8101. <NAME>GtkClock</NAME>
  8102. struct GtkClock {
  8103.     GtkLabel widget;
  8104.     GtkClockType type;
  8105.     gint timer_id;
  8106.     gint update_interval;
  8107.     time_t seconds;
  8108.     time_t stopped;
  8109.     gchar *fmt;
  8110.     struct tm *tm;
  8111. };
  8112. </STRUCT>
  8113. <FUNCTION>
  8114. <NAME>gtk_clock_get_type</NAME>
  8115. <RETURNS>guint  </RETURNS>
  8116. void
  8117. </FUNCTION>
  8118. <FUNCTION>
  8119. <NAME>gtk_clock_new</NAME>
  8120. <RETURNS>GtkWidget  *</RETURNS>
  8121. GtkClockType type
  8122. </FUNCTION>
  8123. <FUNCTION>
  8124. <NAME>gtk_clock_set_format</NAME>
  8125. <RETURNS>void  </RETURNS>
  8126. GtkClock *gclock, gchar *fmt
  8127. </FUNCTION>
  8128. <FUNCTION>
  8129. <NAME>gtk_clock_set_seconds</NAME>
  8130. <RETURNS>void  </RETURNS>
  8131. GtkClock *gclock, time_t seconds
  8132. </FUNCTION>
  8133. <FUNCTION>
  8134. <NAME>gtk_clock_set_update_interval</NAME>
  8135. <RETURNS>void  </RETURNS>
  8136. GtkClock *gclock, gint seconds
  8137. </FUNCTION>
  8138. <FUNCTION>
  8139. <NAME>gtk_clock_start</NAME>
  8140. <RETURNS>void  </RETURNS>
  8141. GtkClock *gclock
  8142. </FUNCTION>
  8143. <FUNCTION>
  8144. <NAME>gtk_clock_stop</NAME>
  8145. <RETURNS>void  </RETURNS>
  8146. GtkClock *gclock
  8147. </FUNCTION>
  8148. <MACRO>
  8149. <NAME>GTK_TED</NAME>
  8150. #define GTK_TED(obj)          GTK_CHECK_CAST (obj, gtk_ted_get_type (), GtkTed)
  8151. </MACRO>
  8152. <MACRO>
  8153. <NAME>GTK_TED_CLASS</NAME>
  8154. #define GTK_TED_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gtk_ted_get_type (), GtkTedClass)
  8155. </MACRO>
  8156. <MACRO>
  8157. <NAME>GTK_IS_TED</NAME>
  8158. #define GTK_IS_TED(obj)       GTK_CHECK_TYPE (obj, gtk_ted_get_type ())
  8159. </MACRO>
  8160. <STRUCT>
  8161. <NAME>GtkTed</NAME>
  8162. </STRUCT>
  8163. <STRUCT>
  8164. <NAME>GtkTedClass</NAME>
  8165. </STRUCT>
  8166. <FUNCTION>
  8167. <NAME>gtk_ted_get_type</NAME>
  8168. <RETURNS>guint     </RETURNS>
  8169. void
  8170. </FUNCTION>
  8171. <FUNCTION>
  8172. <NAME>gtk_ted_set_app_name</NAME>
  8173. <RETURNS>void  </RETURNS>
  8174. char *str
  8175. </FUNCTION>
  8176. <FUNCTION>
  8177. <NAME>gtk_ted_prepare</NAME>
  8178. <RETURNS>void  </RETURNS>
  8179. GtkTed *ted
  8180. </FUNCTION>
  8181. <FUNCTION>
  8182. <NAME>gtk_ted_new</NAME>
  8183. <RETURNS>GtkWidget          *</RETURNS>
  8184. char *dialog_name
  8185. </FUNCTION>
  8186. <FUNCTION>
  8187. <NAME>gtk_ted_new_layout</NAME>
  8188. <RETURNS>GtkWidget          *</RETURNS>
  8189. char *dialog_name, char *layout
  8190. </FUNCTION>
  8191. <FUNCTION>
  8192. <NAME>gtk_ted_add</NAME>
  8193. <RETURNS>void  </RETURNS>
  8194. GtkTed *ted, GtkWidget *widget, char *name
  8195. </FUNCTION>
  8196. <STRUCT>
  8197. <NAME>GtkTed</NAME>
  8198. struct GtkTed
  8199. {
  8200.     GtkTable   table;
  8201.  
  8202.     GHashTable *widgets;
  8203.     GtkWidget  *widget_box;
  8204.     int        last_col, last_row;
  8205.     int        top_col,  top_row;
  8206.     char       *dialog_name;
  8207.     int        need_gui;
  8208.     int        in_gui;
  8209. };
  8210. </STRUCT>
  8211. <MACRO>
  8212. <NAME>GTK_CAULDRON_TOPLEVEL</NAME>
  8213. #define GTK_CAULDRON_TOPLEVEL    (0x1L<<0)
  8214. </MACRO>
  8215. <MACRO>
  8216. <NAME>GTK_CAULDRON_DIALOG</NAME>
  8217. #define GTK_CAULDRON_DIALOG        (0x1L<<1)
  8218. </MACRO>
  8219. <MACRO>
  8220. <NAME>GTK_CAULDRON_POPUP</NAME>
  8221. #define GTK_CAULDRON_POPUP        (0x1L<<2)
  8222. </MACRO>
  8223. <MACRO>
  8224. <NAME>GTK_CAULDRON_SPACE_SHIFT</NAME>
  8225. #define GTK_CAULDRON_SPACE_SHIFT    (3)
  8226. </MACRO>
  8227. <MACRO>
  8228. <NAME>GTK_CAULDRON_SPACE_MASK</NAME>
  8229. #define GTK_CAULDRON_SPACE_MASK    (0xFL<<GTK_CAULDRON_SPACE_SHIFT)
  8230. </MACRO>
  8231. <MACRO>
  8232. <NAME>GTK_CAULDRON_SPACE1</NAME>
  8233. #define GTK_CAULDRON_SPACE1        (0x1L<<GTK_CAULDRON_SPACE_SHIFT)
  8234. </MACRO>
  8235. <MACRO>
  8236. <NAME>GTK_CAULDRON_SPACE2</NAME>
  8237. #define GTK_CAULDRON_SPACE2        (0x2L<<GTK_CAULDRON_SPACE_SHIFT)
  8238. </MACRO>
  8239. <MACRO>
  8240. <NAME>GTK_CAULDRON_SPACE3</NAME>
  8241. #define GTK_CAULDRON_SPACE3        (0x3L<<GTK_CAULDRON_SPACE_SHIFT)
  8242. </MACRO>
  8243. <MACRO>
  8244. <NAME>GTK_CAULDRON_SPACE4</NAME>
  8245. #define GTK_CAULDRON_SPACE4        (0x4L<<GTK_CAULDRON_SPACE_SHIFT)
  8246. </MACRO>
  8247. <MACRO>
  8248. <NAME>GTK_CAULDRON_SPACE5</NAME>
  8249. #define GTK_CAULDRON_SPACE5        (0x5L<<GTK_CAULDRON_SPACE_SHIFT)
  8250. </MACRO>
  8251. <MACRO>
  8252. <NAME>GTK_CAULDRON_SPACE6</NAME>
  8253. #define GTK_CAULDRON_SPACE6        (0x6L<<GTK_CAULDRON_SPACE_SHIFT)
  8254. </MACRO>
  8255. <MACRO>
  8256. <NAME>GTK_CAULDRON_SPACE7</NAME>
  8257. #define GTK_CAULDRON_SPACE7        (0x7L<<GTK_CAULDRON_SPACE_SHIFT)
  8258. </MACRO>
  8259. <MACRO>
  8260. <NAME>GTK_CAULDRON_SPACE8</NAME>
  8261. #define GTK_CAULDRON_SPACE8        (0x8L<<GTK_CAULDRON_SPACE_SHIFT)
  8262. </MACRO>
  8263. <MACRO>
  8264. <NAME>GTK_CAULDRON_SPACE9</NAME>
  8265. #define GTK_CAULDRON_SPACE9        (0x9L<<GTK_CAULDRON_SPACE_SHIFT)
  8266. </MACRO>
  8267. <MACRO>
  8268. <NAME>GTK_CAULDRON_SPACE10</NAME>
  8269. #define GTK_CAULDRON_SPACE10        (0xAL<<GTK_CAULDRON_SPACE_SHIFT)
  8270. </MACRO>
  8271. <MACRO>
  8272. <NAME>GTK_CAULDRON_SPACE11</NAME>
  8273. #define GTK_CAULDRON_SPACE11        (0xBL<<GTK_CAULDRON_SPACE_SHIFT)
  8274. </MACRO>
  8275. <MACRO>
  8276. <NAME>GTK_CAULDRON_SPACE12</NAME>
  8277. #define GTK_CAULDRON_SPACE12        (0xCL<<GTK_CAULDRON_SPACE_SHIFT)
  8278. </MACRO>
  8279. <MACRO>
  8280. <NAME>GTK_CAULDRON_SPACE13</NAME>
  8281. #define GTK_CAULDRON_SPACE13        (0xDL<<GTK_CAULDRON_SPACE_SHIFT)
  8282. </MACRO>
  8283. <MACRO>
  8284. <NAME>GTK_CAULDRON_SPACE14</NAME>
  8285. #define GTK_CAULDRON_SPACE14        (0xEL<<GTK_CAULDRON_SPACE_SHIFT)
  8286. </MACRO>
  8287. <MACRO>
  8288. <NAME>GTK_CAULDRON_SPACE15</NAME>
  8289. #define GTK_CAULDRON_SPACE15        (0xFL<<GTK_CAULDRON_SPACE_SHIFT)
  8290. </MACRO>
  8291. <MACRO>
  8292. <NAME>GTK_CAULDRON_IGNOREESCAPE</NAME>
  8293. #define GTK_CAULDRON_IGNOREESCAPE    (0x1L<<7)
  8294. </MACRO>
  8295. <MACRO>
  8296. <NAME>GTK_CAULDRON_IGNOREENTER</NAME>
  8297. #define GTK_CAULDRON_IGNOREENTER    (0x1L<<8)
  8298. </MACRO>
  8299. <MACRO>
  8300. <NAME>GTK_CAULDRON_GRAB</NAME>
  8301. #define GTK_CAULDRON_GRAB        (0x1L<<9)
  8302. </MACRO>
  8303. <MACRO>
  8304. <NAME>GTK_CAULDRON_PARENT</NAME>
  8305. #define GTK_CAULDRON_PARENT        (0x1L<<10)
  8306. </MACRO>
  8307. <USER_FUNCTION>
  8308. <NAME>GtkCauldronNextArgCallback</NAME>
  8309. <RETURNS>void </RETURNS>
  8310. gint cauldron_type, gpointer user_data, void *result
  8311. </USER_FUNCTION>
  8312. <VARIABLE>
  8313. <NAME>GTK_CAULDRON_ENTER</NAME>
  8314. extern gchar *GTK_CAULDRON_ENTER;
  8315. </VARIABLE>
  8316. <VARIABLE>
  8317. <NAME>GTK_CAULDRON_ESCAPE</NAME>
  8318. extern gchar *GTK_CAULDRON_ESCAPE;
  8319. </VARIABLE>
  8320. <USER_FUNCTION>
  8321. <NAME>GtkCauldronCustomCallback</NAME>
  8322. <RETURNS>GtkWidget *</RETURNS>
  8323. GtkWidget * widget, gpointer user_data
  8324. </USER_FUNCTION>
  8325. <FUNCTION>
  8326. <NAME>gtk_dialog_cauldron</NAME>
  8327. <RETURNS>gchar  *</RETURNS>
  8328. const gchar * title, glong options, ...
  8329. </FUNCTION>
  8330. <FUNCTION>
  8331. <NAME>gtk_dialog_cauldron_parse</NAME>
  8332. <RETURNS>gchar  *</RETURNS>
  8333. const gchar * title, glong options,const gchar * format,GtkCauldronNextArgCallback next_arg,gpointer user_data,GtkWidget *parent
  8334. </FUNCTION>
  8335. <MACRO>
  8336. <NAME>GTK_DIAL</NAME>
  8337. #define GTK_DIAL(obj)          GTK_CHECK_CAST (obj, gtk_dial_get_type (), GtkDial)
  8338. </MACRO>
  8339. <MACRO>
  8340. <NAME>GTK_DIAL_CLASS</NAME>
  8341. #define GTK_DIAL_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gtk_dial_get_type (), GtkDialClass)
  8342. </MACRO>
  8343. <MACRO>
  8344. <NAME>GTK_IS_DIAL</NAME>
  8345. #define GTK_IS_DIAL(obj)       GTK_CHECK_TYPE (obj, gtk_dial_get_type ())
  8346. </MACRO>
  8347. <STRUCT>
  8348. <NAME>GtkDial</NAME>
  8349. </STRUCT>
  8350. <STRUCT>
  8351. <NAME>GtkDialClass</NAME>
  8352. </STRUCT>
  8353. <STRUCT>
  8354. <NAME>GtkDial</NAME>
  8355. struct GtkDial
  8356. {
  8357.   GtkWidget     widget;
  8358.   GdkPixmap     *offscreen_pixmap;
  8359.   GtkAdjustment *adjustment;
  8360.  
  8361.   guint policy : 2;
  8362.   guint view_only : 1;
  8363.   guint8 button;
  8364.  
  8365.   /* Dimensions of dial components */
  8366.   gint radius;
  8367.   gint pointer_width;
  8368.  
  8369.   guint32 timer;
  8370.  
  8371.   gfloat angle;
  8372.   gfloat percentage;
  8373.   gfloat old_value;
  8374.   gfloat old_lower;
  8375.   gfloat old_upper;
  8376.  
  8377. };
  8378. </STRUCT>
  8379. <FUNCTION>
  8380. <NAME>gtk_dial_new</NAME>
  8381. <RETURNS>GtkWidget *</RETURNS>
  8382. GtkAdjustment  *adjustment
  8383. </FUNCTION>
  8384. <FUNCTION>
  8385. <NAME>gtk_dial_get_type</NAME>
  8386. <RETURNS>guint  </RETURNS>
  8387. void
  8388. </FUNCTION>
  8389. <FUNCTION>
  8390. <NAME>gtk_dial_get_adjustment</NAME>
  8391. <RETURNS>GtkAdjustment *</RETURNS>
  8392. GtkDial        *dial
  8393. </FUNCTION>
  8394. <FUNCTION>
  8395. <NAME>gtk_dial_set_update_policy</NAME>
  8396. <RETURNS>void  </RETURNS>
  8397. GtkDial        *dial,GtkUpdateType  policy
  8398. </FUNCTION>
  8399. <FUNCTION>
  8400. <NAME>gtk_dial_set_adjustment</NAME>
  8401. <RETURNS>void  </RETURNS>
  8402. GtkDial        *dial,GtkAdjustment  *adjustment
  8403. </FUNCTION>
  8404. <FUNCTION>
  8405. <NAME>gtk_dial_set_percentage</NAME>
  8406. <RETURNS>gfloat  </RETURNS>
  8407. GtkDial        *dial,gfloat         percent
  8408. </FUNCTION>
  8409. <FUNCTION>
  8410. <NAME>gtk_dial_get_percentage</NAME>
  8411. <RETURNS>gfloat  </RETURNS>
  8412. GtkDial        *dial
  8413. </FUNCTION>
  8414. <FUNCTION>
  8415. <NAME>gtk_dial_set_value</NAME>
  8416. <RETURNS>gfloat  </RETURNS>
  8417. GtkDial        *dial,gfloat         value
  8418. </FUNCTION>
  8419. <FUNCTION>
  8420. <NAME>gtk_dial_get_value</NAME>
  8421. <RETURNS>gfloat  </RETURNS>
  8422. GtkDial        *dial
  8423. </FUNCTION>
  8424. <FUNCTION>
  8425. <NAME>gtk_dial_set_view_only</NAME>
  8426. <RETURNS>void  </RETURNS>
  8427. GtkDial        *dial,gboolean       view_only
  8428. </FUNCTION>
  8429. <MACRO>
  8430. <NAME>GTK_TYPE_PIXMAP_MENU_ITEM</NAME>
  8431. #define GTK_TYPE_PIXMAP_MENU_ITEM        (gtk_pixmap_menu_item_get_type ())
  8432. </MACRO>
  8433. <MACRO>
  8434. <NAME>GTK_PIXMAP_MENU_ITEM</NAME>
  8435. #define GTK_PIXMAP_MENU_ITEM(obj)        (GTK_CHECK_CAST ((obj), GTK_TYPE_PIXMAP_MENU_ITEM, GtkPixmapMenuItem))
  8436. </MACRO>
  8437. <MACRO>
  8438. <NAME>GTK_PIXMAP_MENU_ITEM_CLASS</NAME>
  8439. #define GTK_PIXMAP_MENU_ITEM_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PIXMAP_MENU_ITEM, GtkPixmapMenuItemClass))
  8440. </MACRO>
  8441. <MACRO>
  8442. <NAME>GTK_IS_PIXMAP_MENU_ITEM</NAME>
  8443. #define GTK_IS_PIXMAP_MENU_ITEM(obj)        (GTK_CHECK_TYPE ((obj), GTK_TYPE_PIXMAP_MENU_ITEM))
  8444. </MACRO>
  8445. <MACRO>
  8446. <NAME>GTK_IS_PIXMAP_MENU_ITEM_CLASS</NAME>
  8447. #define GTK_IS_PIXMAP_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PIXMAP_MENU_ITEM))
  8448. </MACRO>
  8449. <STRUCT>
  8450. <NAME>GtkPixmapMenuItem</NAME>
  8451. </STRUCT>
  8452. <STRUCT>
  8453. <NAME>GtkPixmapMenuItemClass</NAME>
  8454. </STRUCT>
  8455. <STRUCT>
  8456. <NAME>GtkPixmapMenuItem</NAME>
  8457. struct GtkPixmapMenuItem
  8458. {
  8459.   GtkMenuItem menu_item;
  8460.  
  8461.   GtkWidget *pixmap;
  8462. };
  8463. </STRUCT>
  8464. <FUNCTION>
  8465. <NAME>gtk_pixmap_menu_item_get_type</NAME>
  8466. <RETURNS>GtkType     </RETURNS>
  8467. void
  8468. </FUNCTION>
  8469. <FUNCTION>
  8470. <NAME>gtk_pixmap_menu_item_new</NAME>
  8471. <RETURNS>GtkWidget *</RETURNS>
  8472. void
  8473. </FUNCTION>
  8474. <FUNCTION>
  8475. <NAME>gtk_pixmap_menu_item_set_pixmap</NAME>
  8476. <RETURNS>void  </RETURNS>
  8477. GtkPixmapMenuItem *menu_item,GtkWidget *pixmap
  8478. </FUNCTION>
  8479. <MACRO>
  8480. <NAME>GNOME_TYPE_DRUID_PAGE_FINISH</NAME>
  8481. #define GNOME_TYPE_DRUID_PAGE_FINISH            (gnome_druid_page_finish_get_type ())
  8482. </MACRO>
  8483. <MACRO>
  8484. <NAME>GNOME_DRUID_PAGE_FINISH</NAME>
  8485. #define GNOME_DRUID_PAGE_FINISH(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE_FINISH, GnomeDruidPageFinish))
  8486. </MACRO>
  8487. <MACRO>
  8488. <NAME>GNOME_DRUID_PAGE_FINISH_CLASS</NAME>
  8489. #define GNOME_DRUID_PAGE_FINISH_CLASS(klass)        (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE_FINISH, GnomeDruidPageFinishClass))
  8490. </MACRO>
  8491. <MACRO>
  8492. <NAME>GNOME_IS_DRUID_PAGE_FINISH</NAME>
  8493. #define GNOME_IS_DRUID_PAGE_FINISH(obj)            (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_FINISH))
  8494. </MACRO>
  8495. <MACRO>
  8496. <NAME>GNOME_IS_DRUID_PAGE_FINISH_CLASS</NAME>
  8497. #define GNOME_IS_DRUID_PAGE_FINISH_CLASS(klass)        (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_FINISH))
  8498. </MACRO>
  8499. <STRUCT>
  8500. <NAME>GnomeDruidPageFinish</NAME>
  8501. </STRUCT>
  8502. <STRUCT>
  8503. <NAME>GnomeDruidPageFinishClass</NAME>
  8504. </STRUCT>
  8505. <STRUCT>
  8506. <NAME>GnomeDruidPageFinish</NAME>
  8507. struct GnomeDruidPageFinish
  8508. {
  8509.     GnomeDruidPage parent;
  8510.  
  8511.     GdkColor background_color;
  8512.     GdkColor textbox_color;
  8513.     GdkColor logo_background_color;
  8514.     GdkColor title_color;
  8515.     GdkColor text_color;
  8516.  
  8517.     gchar *title;
  8518.     gchar *text;
  8519.     GdkImlibImage *logo_image;
  8520.     GdkImlibImage *watermark_image;
  8521.  
  8522.     /*< private >*/
  8523.     GtkWidget *canvas;
  8524.     GnomeCanvasItem *background_item;
  8525.     GnomeCanvasItem *textbox_item;
  8526.     GnomeCanvasItem *text_item;
  8527.     GnomeCanvasItem *logo_item;
  8528.     GnomeCanvasItem *logoframe_item;
  8529.     GnomeCanvasItem *watermark_item;
  8530.     GnomeCanvasItem *title_item;
  8531. };
  8532. </STRUCT>
  8533. <FUNCTION>
  8534. <NAME>gnome_druid_page_finish_get_type</NAME>
  8535. <RETURNS>GtkType  </RETURNS>
  8536. void
  8537. </FUNCTION>
  8538. <FUNCTION>
  8539. <NAME>gnome_druid_page_finish_new</NAME>
  8540. <RETURNS>GtkWidget  *</RETURNS>
  8541. void
  8542. </FUNCTION>
  8543. <FUNCTION>
  8544. <NAME>gnome_druid_page_finish_new_with_vals</NAME>
  8545. <RETURNS>GtkWidget  *</RETURNS>
  8546. gchar *title,gchar* text,GdkImlibImage *logo,GdkImlibImage *watermark
  8547. </FUNCTION>
  8548. <FUNCTION>
  8549. <NAME>gnome_druid_page_finish_set_bg_color</NAME>
  8550. <RETURNS>void  </RETURNS>
  8551. GnomeDruidPageFinish *druid_page_finish,GdkColor *color
  8552. </FUNCTION>
  8553. <FUNCTION>
  8554. <NAME>gnome_druid_page_finish_set_textbox_color</NAME>
  8555. <RETURNS>void  </RETURNS>
  8556. GnomeDruidPageFinish *druid_page_finish,GdkColor *color
  8557. </FUNCTION>
  8558. <FUNCTION>
  8559. <NAME>gnome_druid_page_finish_set_logo_bg_color</NAME>
  8560. <RETURNS>void  </RETURNS>
  8561. GnomeDruidPageFinish *druid_page_finish,GdkColor *color
  8562. </FUNCTION>
  8563. <FUNCTION>
  8564. <NAME>gnome_druid_page_finish_set_title_color</NAME>
  8565. <RETURNS>void  </RETURNS>
  8566. GnomeDruidPageFinish *druid_page_finish,GdkColor *color
  8567. </FUNCTION>
  8568. <FUNCTION>
  8569. <NAME>gnome_druid_page_finish_set_text_color</NAME>
  8570. <RETURNS>void  </RETURNS>
  8571. GnomeDruidPageFinish *druid_page_finish,GdkColor *color
  8572. </FUNCTION>
  8573. <FUNCTION>
  8574. <NAME>gnome_druid_page_finish_set_text</NAME>
  8575. <RETURNS>void  </RETURNS>
  8576. GnomeDruidPageFinish *druid_page_finish,gchar *text
  8577. </FUNCTION>
  8578. <FUNCTION>
  8579. <NAME>gnome_druid_page_finish_set_title</NAME>
  8580. <RETURNS>void  </RETURNS>
  8581. GnomeDruidPageFinish *druid_page_finish,gchar *title
  8582. </FUNCTION>
  8583. <FUNCTION>
  8584. <NAME>gnome_druid_page_finish_set_logo</NAME>
  8585. <RETURNS>void  </RETURNS>
  8586. GnomeDruidPageFinish *druid_page_finish,GdkImlibImage *logo_image
  8587. </FUNCTION>
  8588. <FUNCTION>
  8589. <NAME>gnome_druid_page_finish_set_watermark</NAME>
  8590. <RETURNS>void  </RETURNS>
  8591. GnomeDruidPageFinish *druid_page_finish,GdkImlibImage *watermark
  8592. </FUNCTION>
  8593. <MACRO>
  8594. <NAME>GNOME_TYPE_DRUID_PAGE_STANDARD</NAME>
  8595. #define GNOME_TYPE_DRUID_PAGE_STANDARD            (gnome_druid_page_standard_get_type ())
  8596. </MACRO>
  8597. <MACRO>
  8598. <NAME>GNOME_DRUID_PAGE_STANDARD</NAME>
  8599. #define GNOME_DRUID_PAGE_STANDARD(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD, GnomeDruidPageStandard))
  8600. </MACRO>
  8601. <MACRO>
  8602. <NAME>GNOME_DRUID_PAGE_STANDARD_CLASS</NAME>
  8603. #define GNOME_DRUID_PAGE_STANDARD_CLASS(klass)        (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE_STANDARD, GnomeDruidPageStandardClass))
  8604. </MACRO>
  8605. <MACRO>
  8606. <NAME>GNOME_IS_DRUID_PAGE_STANDARD</NAME>
  8607. #define GNOME_IS_DRUID_PAGE_STANDARD(obj)            (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD))
  8608. </MACRO>
  8609. <MACRO>
  8610. <NAME>GNOME_IS_DRUID_PAGE_STANDARD_CLASS</NAME>
  8611. #define GNOME_IS_DRUID_PAGE_STANDARD_CLASS(klass)        (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_STANDARD))
  8612. </MACRO>
  8613. <STRUCT>
  8614. <NAME>GnomeDruidPageStandard</NAME>
  8615. </STRUCT>
  8616. <STRUCT>
  8617. <NAME>GnomeDruidPageStandardClass</NAME>
  8618. </STRUCT>
  8619. <STRUCT>
  8620. <NAME>GnomeDruidPageStandard</NAME>
  8621. struct GnomeDruidPageStandard
  8622. {
  8623.     GnomeDruidPage parent;
  8624.  
  8625.     GtkWidget *vbox;
  8626.     GdkColor background_color;
  8627.     GdkColor logo_background_color;
  8628.     GdkColor title_color;
  8629.     GdkImlibImage *logo_image;
  8630.  
  8631.     gchar *title;
  8632.     
  8633.     /*< private >*/
  8634.     GtkWidget *canvas;
  8635.     GtkWidget *side_bar;
  8636.     GnomeCanvasItem *logoframe_item;
  8637.     GnomeCanvasItem *logo_item;
  8638.     GnomeCanvasItem *title_item;
  8639.     GnomeCanvasItem *background_item;
  8640. };
  8641. </STRUCT>
  8642. <FUNCTION>
  8643. <NAME>gnome_druid_page_standard_get_type</NAME>
  8644. <RETURNS>GtkType  </RETURNS>
  8645. void
  8646. </FUNCTION>
  8647. <FUNCTION>
  8648. <NAME>gnome_druid_page_standard_new</NAME>
  8649. <RETURNS>GtkWidget  *</RETURNS>
  8650. void
  8651. </FUNCTION>
  8652. <FUNCTION>
  8653. <NAME>gnome_druid_page_standard_new_with_vals</NAME>
  8654. <RETURNS>GtkWidget  *</RETURNS>
  8655. gchar *title, GdkImlibImage *logo
  8656. </FUNCTION>
  8657. <FUNCTION>
  8658. <NAME>gnome_druid_page_standard_set_bg_color</NAME>
  8659. <RETURNS>void  </RETURNS>
  8660. GnomeDruidPageStandard *druid_page_standard,GdkColor *color
  8661. </FUNCTION>
  8662. <FUNCTION>
  8663. <NAME>gnome_druid_page_standard_set_logo_bg_color</NAME>
  8664. <RETURNS>void  </RETURNS>
  8665. GnomeDruidPageStandard *druid_page_standard,GdkColor *color
  8666. </FUNCTION>
  8667. <FUNCTION>
  8668. <NAME>gnome_druid_page_standard_set_title_color</NAME>
  8669. <RETURNS>void  </RETURNS>
  8670. GnomeDruidPageStandard *druid_page_standard,GdkColor *color
  8671. </FUNCTION>
  8672. <FUNCTION>
  8673. <NAME>gnome_druid_page_standard_set_title</NAME>
  8674. <RETURNS>void  </RETURNS>
  8675. GnomeDruidPageStandard *druid_page_standard,gchar *title
  8676. </FUNCTION>
  8677. <FUNCTION>
  8678. <NAME>gnome_druid_page_standard_set_logo</NAME>
  8679. <RETURNS>void  </RETURNS>
  8680. GnomeDruidPageStandard *druid_page_standard,GdkImlibImage *logo_image
  8681. </FUNCTION>
  8682. <MACRO>
  8683. <NAME>GNOME_TYPE_DRUID_PAGE_START</NAME>
  8684. #define GNOME_TYPE_DRUID_PAGE_START            (gnome_druid_page_start_get_type ())
  8685. </MACRO>
  8686. <MACRO>
  8687. <NAME>GNOME_DRUID_PAGE_START</NAME>
  8688. #define GNOME_DRUID_PAGE_START(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE_START, GnomeDruidPageStart))
  8689. </MACRO>
  8690. <MACRO>
  8691. <NAME>GNOME_DRUID_PAGE_START_CLASS</NAME>
  8692. #define GNOME_DRUID_PAGE_START_CLASS(klass)        (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE_START, GnomeDruidPageStartClass))
  8693. </MACRO>
  8694. <MACRO>
  8695. <NAME>GNOME_IS_DRUID_PAGE_START</NAME>
  8696. #define GNOME_IS_DRUID_PAGE_START(obj)            (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_START))
  8697. </MACRO>
  8698. <MACRO>
  8699. <NAME>GNOME_IS_DRUID_PAGE_START_CLASS</NAME>
  8700. #define GNOME_IS_DRUID_PAGE_START_CLASS(klass)        (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE_START))
  8701. </MACRO>
  8702. <STRUCT>
  8703. <NAME>GnomeDruidPageStart</NAME>
  8704. </STRUCT>
  8705. <STRUCT>
  8706. <NAME>GnomeDruidPageStartClass</NAME>
  8707. </STRUCT>
  8708. <STRUCT>
  8709. <NAME>GnomeDruidPageStart</NAME>
  8710. struct GnomeDruidPageStart
  8711. {
  8712.     GnomeDruidPage parent;
  8713.  
  8714.     GdkColor background_color;
  8715.     GdkColor textbox_color;
  8716.     GdkColor logo_background_color;
  8717.     GdkColor title_color;
  8718.     GdkColor text_color;
  8719.  
  8720.     gchar *title;
  8721.     gchar *text;
  8722.     GdkImlibImage *logo_image;
  8723.     GdkImlibImage *watermark_image;
  8724.  
  8725.     /*< private >*/
  8726.     GtkWidget *canvas;
  8727.     GnomeCanvasItem *background_item;
  8728.     GnomeCanvasItem *textbox_item;
  8729.     GnomeCanvasItem *text_item;
  8730.     GnomeCanvasItem *logo_item;
  8731.     GnomeCanvasItem *logoframe_item;
  8732.     GnomeCanvasItem *watermark_item;
  8733.     GnomeCanvasItem *title_item;
  8734. };
  8735. </STRUCT>
  8736. <FUNCTION>
  8737. <NAME>gnome_druid_page_start_get_type</NAME>
  8738. <RETURNS>GtkType  </RETURNS>
  8739. void
  8740. </FUNCTION>
  8741. <FUNCTION>
  8742. <NAME>gnome_druid_page_start_new</NAME>
  8743. <RETURNS>GtkWidget  *</RETURNS>
  8744. void
  8745. </FUNCTION>
  8746. <FUNCTION>
  8747. <NAME>gnome_druid_page_start_new_with_vals</NAME>
  8748. <RETURNS>GtkWidget  *</RETURNS>
  8749. gchar *title,gchar* text,GdkImlibImage *logo,GdkImlibImage *watermark
  8750. </FUNCTION>
  8751. <FUNCTION>
  8752. <NAME>gnome_druid_page_start_set_bg_color</NAME>
  8753. <RETURNS>void  </RETURNS>
  8754. GnomeDruidPageStart *druid_page_start,GdkColor *color
  8755. </FUNCTION>
  8756. <FUNCTION>
  8757. <NAME>gnome_druid_page_start_set_textbox_color</NAME>
  8758. <RETURNS>void  </RETURNS>
  8759. GnomeDruidPageStart *druid_page_start,GdkColor *color
  8760. </FUNCTION>
  8761. <FUNCTION>
  8762. <NAME>gnome_druid_page_start_set_logo_bg_color</NAME>
  8763. <RETURNS>void  </RETURNS>
  8764. GnomeDruidPageStart *druid_page_start,GdkColor *color
  8765. </FUNCTION>
  8766. <FUNCTION>
  8767. <NAME>gnome_druid_page_start_set_title_color</NAME>
  8768. <RETURNS>void  </RETURNS>
  8769. GnomeDruidPageStart *druid_page_start,GdkColor *color
  8770. </FUNCTION>
  8771. <FUNCTION>
  8772. <NAME>gnome_druid_page_start_set_text_color</NAME>
  8773. <RETURNS>void  </RETURNS>
  8774. GnomeDruidPageStart *druid_page_start,GdkColor *color
  8775. </FUNCTION>
  8776. <FUNCTION>
  8777. <NAME>gnome_druid_page_start_set_text</NAME>
  8778. <RETURNS>void  </RETURNS>
  8779. GnomeDruidPageStart *druid_page_start,gchar *text
  8780. </FUNCTION>
  8781. <FUNCTION>
  8782. <NAME>gnome_druid_page_start_set_title</NAME>
  8783. <RETURNS>void  </RETURNS>
  8784. GnomeDruidPageStart *druid_page_start,gchar *title
  8785. </FUNCTION>
  8786. <FUNCTION>
  8787. <NAME>gnome_druid_page_start_set_logo</NAME>
  8788. <RETURNS>void  </RETURNS>
  8789. GnomeDruidPageStart *druid_page_start,GdkImlibImage *logo_image
  8790. </FUNCTION>
  8791. <FUNCTION>
  8792. <NAME>gnome_druid_page_start_set_watermark</NAME>
  8793. <RETURNS>void  </RETURNS>
  8794. GnomeDruidPageStart *druid_page_start,GdkImlibImage *watermark
  8795. </FUNCTION>
  8796. <MACRO>
  8797. <NAME>GNOME_TYPE_DRUID_PAGE</NAME>
  8798. #define GNOME_TYPE_DRUID_PAGE            (gnome_druid_page_get_type ())
  8799. </MACRO>
  8800. <MACRO>
  8801. <NAME>GNOME_DRUID_PAGE</NAME>
  8802. #define GNOME_DRUID_PAGE(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID_PAGE, GnomeDruidPage))
  8803. </MACRO>
  8804. <MACRO>
  8805. <NAME>GNOME_DRUID_PAGE_CLASS</NAME>
  8806. #define GNOME_DRUID_PAGE_CLASS(klass)        (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID_PAGE, GnomeDruidPageClass))
  8807. </MACRO>
  8808. <MACRO>
  8809. <NAME>GNOME_IS_DRUID_PAGE</NAME>
  8810. #define GNOME_IS_DRUID_PAGE(obj)        (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID_PAGE))
  8811. </MACRO>
  8812. <MACRO>
  8813. <NAME>GNOME_IS_DRUID_PAGE_CLASS</NAME>
  8814. #define GNOME_IS_DRUID_PAGE_CLASS(klass)    (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID_PAGE))
  8815. </MACRO>
  8816. <STRUCT>
  8817. <NAME>GnomeDruidPage</NAME>
  8818. </STRUCT>
  8819. <STRUCT>
  8820. <NAME>GnomeDruidPageClass</NAME>
  8821. </STRUCT>
  8822. <STRUCT>
  8823. <NAME>GnomeDruidPage</NAME>
  8824. struct GnomeDruidPage
  8825. {
  8826.     GtkBin parent;
  8827. };
  8828. </STRUCT>
  8829. <FUNCTION>
  8830. <NAME>gnome_druid_page_get_type</NAME>
  8831. <RETURNS>GtkType  </RETURNS>
  8832. void
  8833. </FUNCTION>
  8834. <FUNCTION>
  8835. <NAME>gnome_druid_page_next</NAME>
  8836. <RETURNS>gboolean  </RETURNS>
  8837. GnomeDruidPage *druid_page
  8838. </FUNCTION>
  8839. <FUNCTION>
  8840. <NAME>gnome_druid_page_prepare</NAME>
  8841. <RETURNS>void  </RETURNS>
  8842. GnomeDruidPage *druid_page
  8843. </FUNCTION>
  8844. <FUNCTION>
  8845. <NAME>gnome_druid_page_back</NAME>
  8846. <RETURNS>gboolean  </RETURNS>
  8847. GnomeDruidPage *druid_page
  8848. </FUNCTION>
  8849. <FUNCTION>
  8850. <NAME>gnome_druid_page_cancel</NAME>
  8851. <RETURNS>gboolean  </RETURNS>
  8852. GnomeDruidPage *druid_page
  8853. </FUNCTION>
  8854. <FUNCTION>
  8855. <NAME>gnome_druid_page_finish</NAME>
  8856. <RETURNS>void  </RETURNS>
  8857. GnomeDruidPage *druid_page
  8858. </FUNCTION>
  8859. <MACRO>
  8860. <NAME>GNOME_TYPE_DRUID</NAME>
  8861. #define GNOME_TYPE_DRUID            (gnome_druid_get_type ())
  8862. </MACRO>
  8863. <MACRO>
  8864. <NAME>GNOME_DRUID</NAME>
  8865. #define GNOME_DRUID(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_DRUID, GnomeDruid))
  8866. </MACRO>
  8867. <MACRO>
  8868. <NAME>GNOME_DRUID_CLASS</NAME>
  8869. #define GNOME_DRUID_CLASS(klass)        (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_DRUID, GnomeDruidClass))
  8870. </MACRO>
  8871. <MACRO>
  8872. <NAME>GNOME_IS_DRUID</NAME>
  8873. #define GNOME_IS_DRUID(obj)            (GTK_CHECK_TYPE ((obj), GNOME_TYPE_DRUID))
  8874. </MACRO>
  8875. <MACRO>
  8876. <NAME>GNOME_IS_DRUID_CLASS</NAME>
  8877. #define GNOME_IS_DRUID_CLASS(klass)        (GTK_CHECK_CLASS_TYPE ((obj), GNOME_TYPE_DRUID))
  8878. </MACRO>
  8879. <STRUCT>
  8880. <NAME>GnomeDruid</NAME>
  8881. </STRUCT>
  8882. <STRUCT>
  8883. <NAME>GnomeDruidClass</NAME>
  8884. </STRUCT>
  8885. <STRUCT>
  8886. <NAME>GnomeDruid</NAME>
  8887. struct GnomeDruid
  8888. {
  8889.     GtkContainer parent;
  8890.     GtkWidget *back;
  8891.     GtkWidget *next;
  8892.     GtkWidget *cancel;
  8893.     GtkWidget *finish;
  8894.  
  8895.     /*< private >*/
  8896.     GnomeDruidPage *current;
  8897.     GList *children;
  8898.     gboolean show_finish; /* if TRUE, then we are showing the finish button instead of the next button */
  8899. };
  8900. </STRUCT>
  8901. <FUNCTION>
  8902. <NAME>gnome_druid_get_type</NAME>
  8903. <RETURNS>GtkType  </RETURNS>
  8904. void
  8905. </FUNCTION>
  8906. <FUNCTION>
  8907. <NAME>gnome_druid_new</NAME>
  8908. <RETURNS>GtkWidget  *</RETURNS>
  8909. void
  8910. </FUNCTION>
  8911. <FUNCTION>
  8912. <NAME>gnome_druid_set_buttons_sensitive</NAME>
  8913. <RETURNS>void     </RETURNS>
  8914. GnomeDruid *druid,gboolean back_sensitive,gboolean next_sensitive,gboolean cancel_sensitive
  8915. </FUNCTION>
  8916. <FUNCTION>
  8917. <NAME>gnome_druid_set_show_finish</NAME>
  8918. <RETURNS>void     </RETURNS>
  8919. GnomeDruid *druid, gboolean show_finish
  8920. </FUNCTION>
  8921. <FUNCTION>
  8922. <NAME>gnome_druid_prepend_page</NAME>
  8923. <RETURNS>void  </RETURNS>
  8924. GnomeDruid *druid, GnomeDruidPage *page
  8925. </FUNCTION>
  8926. <FUNCTION>
  8927. <NAME>gnome_druid_insert_page</NAME>
  8928. <RETURNS>void  </RETURNS>
  8929. GnomeDruid *druid, GnomeDruidPage *back_page, GnomeDruidPage *page
  8930. </FUNCTION>
  8931. <FUNCTION>
  8932. <NAME>gnome_druid_append_page</NAME>
  8933. <RETURNS>void  </RETURNS>
  8934. GnomeDruid *druid, GnomeDruidPage *page
  8935. </FUNCTION>
  8936. <FUNCTION>
  8937. <NAME>gnome_druid_set_page</NAME>
  8938. <RETURNS>void     </RETURNS>
  8939. GnomeDruid *druid, GnomeDruidPage *page
  8940. </FUNCTION>
  8941. <VARIABLE>
  8942. <NAME>GTK_TYPE_GNOME_ANIMATOR_STATUS</NAME>
  8943. extern GtkType GTK_TYPE_GNOME_ANIMATOR_STATUS;
  8944. </VARIABLE>
  8945. <VARIABLE>
  8946. <NAME>GTK_TYPE_GNOME_ANIMATOR_LOOP_TYPE</NAME>
  8947. extern GtkType GTK_TYPE_GNOME_ANIMATOR_LOOP_TYPE;
  8948. </VARIABLE>
  8949. <VARIABLE>
  8950. <NAME>GTK_TYPE_GNOME_UI_INFO_TYPE</NAME>
  8951. extern GtkType GTK_TYPE_GNOME_UI_INFO_TYPE;
  8952. </VARIABLE>
  8953. <VARIABLE>
  8954. <NAME>GTK_TYPE_GNOME_UI_INFO_CONFIGURABLE_TYPES</NAME>
  8955. extern GtkType GTK_TYPE_GNOME_UI_INFO_CONFIGURABLE_TYPES;
  8956. </VARIABLE>
  8957. <VARIABLE>
  8958. <NAME>GTK_TYPE_GNOME_UI_PIXMAP_TYPE</NAME>
  8959. extern GtkType GTK_TYPE_GNOME_UI_PIXMAP_TYPE;
  8960. </VARIABLE>
  8961. <VARIABLE>
  8962. <NAME>GTK_TYPE_GNOME_CALCULATOR_MODE</NAME>
  8963. extern GtkType GTK_TYPE_GNOME_CALCULATOR_MODE;
  8964. </VARIABLE>
  8965. <VARIABLE>
  8966. <NAME>GTK_TYPE_GNOME_INTERACT_STYLE</NAME>
  8967. extern GtkType GTK_TYPE_GNOME_INTERACT_STYLE;
  8968. </VARIABLE>
  8969. <VARIABLE>
  8970. <NAME>GTK_TYPE_GNOME_DIALOG_TYPE</NAME>
  8971. extern GtkType GTK_TYPE_GNOME_DIALOG_TYPE;
  8972. </VARIABLE>
  8973. <VARIABLE>
  8974. <NAME>GTK_TYPE_GNOME_SAVE_STYLE</NAME>
  8975. extern GtkType GTK_TYPE_GNOME_SAVE_STYLE;
  8976. </VARIABLE>
  8977. <VARIABLE>
  8978. <NAME>GTK_TYPE_GNOME_RESTART_STYLE</NAME>
  8979. extern GtkType GTK_TYPE_GNOME_RESTART_STYLE;
  8980. </VARIABLE>
  8981. <VARIABLE>
  8982. <NAME>GTK_TYPE_GNOME_CLIENT_STATE</NAME>
  8983. extern GtkType GTK_TYPE_GNOME_CLIENT_STATE;
  8984. </VARIABLE>
  8985. <VARIABLE>
  8986. <NAME>GTK_TYPE_GNOME_CLIENT_FLAGS</NAME>
  8987. extern GtkType GTK_TYPE_GNOME_CLIENT_FLAGS;
  8988. </VARIABLE>
  8989. <VARIABLE>
  8990. <NAME>GTK_TYPE_GNOME_DATE_EDIT_FLAGS</NAME>
  8991. extern GtkType GTK_TYPE_GNOME_DATE_EDIT_FLAGS;
  8992. </VARIABLE>
  8993. <VARIABLE>
  8994. <NAME>GTK_TYPE_GNOME_DOCK_PLACEMENT</NAME>
  8995. extern GtkType GTK_TYPE_GNOME_DOCK_PLACEMENT;
  8996. </VARIABLE>
  8997. <VARIABLE>
  8998. <NAME>GTK_TYPE_GNOME_DOCK_ITEM_BEHAVIOR</NAME>
  8999. extern GtkType GTK_TYPE_GNOME_DOCK_ITEM_BEHAVIOR;
  9000. </VARIABLE>
  9001. <VARIABLE>
  9002. <NAME>GTK_TYPE_GNOME_FONT_PICKER_MODE</NAME>
  9003. extern GtkType GTK_TYPE_GNOME_FONT_PICKER_MODE;
  9004. </VARIABLE>
  9005. <VARIABLE>
  9006. <NAME>GTK_TYPE_GNOME_ICON_LIST_MODE</NAME>
  9007. extern GtkType GTK_TYPE_GNOME_ICON_LIST_MODE;
  9008. </VARIABLE>
  9009. <VARIABLE>
  9010. <NAME>GTK_TYPE_GNOME_MDI_MODE</NAME>
  9011. extern GtkType GTK_TYPE_GNOME_MDI_MODE;
  9012. </VARIABLE>
  9013. <VARIABLE>
  9014. <NAME>GTK_TYPE_GNOME_PROPERTY_ACTION</NAME>
  9015. extern GtkType GTK_TYPE_GNOME_PROPERTY_ACTION;
  9016. </VARIABLE>
  9017. <VARIABLE>
  9018. <NAME>GTK_TYPE_GNOME_STOCK_PIXMAP_TYPE</NAME>
  9019. extern GtkType GTK_TYPE_GNOME_STOCK_PIXMAP_TYPE;
  9020. </VARIABLE>
  9021. <VARIABLE>
  9022. <NAME>GTK_TYPE_GNOME_PREFERENCES_TYPE</NAME>
  9023. extern GtkType GTK_TYPE_GNOME_PREFERENCES_TYPE;
  9024. </VARIABLE>
  9025. <VARIABLE>
  9026. <NAME>GTK_TYPE_GNOME_WIN_LAYER</NAME>
  9027. extern GtkType GTK_TYPE_GNOME_WIN_LAYER;
  9028. </VARIABLE>
  9029. <VARIABLE>
  9030. <NAME>GTK_TYPE_GNOME_WIN_STATE</NAME>
  9031. extern GtkType GTK_TYPE_GNOME_WIN_STATE;
  9032. </VARIABLE>
  9033. <VARIABLE>
  9034. <NAME>GTK_TYPE_GNOME_WIN_HINTS</NAME>
  9035. extern GtkType GTK_TYPE_GNOME_WIN_HINTS;
  9036. </VARIABLE>
  9037. <VARIABLE>
  9038. <NAME>GTK_TYPE_GNOME_WIN_APP_STATE</NAME>
  9039. extern GtkType GTK_TYPE_GNOME_WIN_APP_STATE;
  9040. </VARIABLE>
  9041. <VARIABLE>
  9042. <NAME>GTK_TYPE_CLOCK_TYPE</NAME>
  9043. extern GtkType GTK_TYPE_CLOCK_TYPE;
  9044. </VARIABLE>
  9045. <VARIABLE>
  9046. <NAME>GTK_TYPE_GDK_IMLIB_IMAGE</NAME>
  9047. extern GtkType GTK_TYPE_GDK_IMLIB_IMAGE;
  9048. </VARIABLE>
  9049. <VARIABLE>
  9050. <NAME>GTK_TYPE_GNOME_CANVAS_POINTS</NAME>
  9051. extern GtkType GTK_TYPE_GNOME_CANVAS_POINTS;
  9052. </VARIABLE>
  9053. <MACRO>
  9054. <NAME>GNOME_TYPE_NUM_BUILTINS</NAME>
  9055. #define    GNOME_TYPE_NUM_BUILTINS    (28)
  9056. </MACRO>
  9057.